Skip to contentSkip to conversation

selftests-add-basic-posix-timers-selftests.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jul 8, 2013

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

Subject: [merged] selftests-add-basic-posix-timers-selftests.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Mon, 08 Jul 2013 12:37:44 -0700

The patch titled
Subject: selftests: add basic posix timers selftests
has been removed from the -mm tree. Its filename was
selftests-add-basic-posix-timers-selftests.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Frederic Weisbecker <[email protected]>
Subject: selftests: add basic posix timers selftests

Add some initial basic tests on a few posix timers interface such as setitimer() and timer_settime().

These simply check that expiration happens in a reasonable timeframe after expected elapsed clock time (user time, user + system time, real time, ...).

This is helpful for finding basic breakages while hacking on this subsystem.

Cc Stanislaw Gruszka <[email protected]>
Cc Thomas Gleixner <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Steven Rostedt <[email protected]>

---

 tools/testing/selftests/Makefile              |    1 
 tools/testing/selftests/timers/Makefile       |    8 
 tools/testing/selftests/timers/posix_timers.c |  221 ++++++++++++++++
 3 files changed, 230 insertions(+)
tools/testing/selftests/Makefile renamed from tools/testing/selftests/Makefile~selftests-add-basic-posix-timers-selftests +1 -0
diff -puN tools/testing/selftests/Makefile~selftests-add-basic-posix-timers-selftests tools/testing/selftests/Makefile
@@ -6,6 +6,7 @@ TARGETS += memory-hotplug
 TARGETS += mqueue
 TARGETS += net
 TARGETS += ptrace
+TARGETS += timers
 TARGETS += vm
 
 all:
tools/testing/selftests/timers/Makefile new file +8 -0
diff -puN /dev/null tools/testing/selftests/timers/Makefile
@@ -0,0 +1,8 @@
+all:
+	gcc posix_timers.c -o posix_timers -lrt
+
+run_tests: all
+	./posix_timers
+
+clean:
+	rm -f ./posix_timers
tools/testing/selftests/timers/posix_timers.c new file +221 -0

221 lines not on this page · raw message

_

Patches currently in -mm which might be from [email protected] are

origin.patch
linux-next.patch ptrace-x86-revert-hw_breakpoints-fix-racy-access-to-ptrace-breakpoints.patch ptrace-powerpc-revert-hw_breakpoints-fix-racy-access-to-ptrace-breakpoints.patch ptrace-arm-revert-hw_breakpoints-fix-racy-access-to-ptrace-breakpoints.patch ptrace-sh-revert-hw_breakpoints-fix-racy-access-to-ptrace-breakpoints.patch ptrace-revert-prepare-to-fix-racy-accesses-on-task-breakpoints.patch ptrace-x86-simplify-the-disable-logic-in-ptrace_write_dr7.patch ptrace-x86-dont-delay-disable-till-second-pass-in-ptrace_write_dr7.patch ptrace-x86-introduce-ptrace_register_breakpoint.patch ptrace-x86-ptrace_write_dr7-should-create-bp-if-disabled.patch ptrace-x86-cleanup-ptrace_set_debugreg.patch ptrace-ptrace_detach-should-do-flush_ptrace_hw_breakpointchild.patch ptrace-x86-flush_ptrace_hw_breakpoint-shoule-clear-the-virtual-debug-registers.patch