|
From: <sv...@va...> - 2008-09-07 16:55:08
|
Author: bart
Date: 2008-09-07 17:55:15 +0100 (Sun, 07 Sep 2008)
New Revision: 8575
Log:
Disabled printing of file descriptor value in order to make the test results more reproducible.
Modified:
trunk/memcheck/tests/linux-timerfd-syscall.c
trunk/memcheck/tests/linux-timerfd-syscall.stdout.exp
Modified: trunk/memcheck/tests/linux-timerfd-syscall.c
===================================================================
--- trunk/memcheck/tests/linux-timerfd-syscall.c 2008-09-07 09:01:57 UTC (rev 8574)
+++ trunk/memcheck/tests/linux-timerfd-syscall.c 2008-09-07 16:55:15 UTC (rev 8575)
@@ -267,7 +267,9 @@
perror("timerfd_settime");
return 1;
}
+#if 0
fprintf(stdout, "timerfd = %d\n", tfd);
+#endif
fprintf(stdout, "wating timer (flush the single tick) ...\n");
ticks = waittmr(tfd, -1);
Modified: trunk/memcheck/tests/linux-timerfd-syscall.stdout.exp
===================================================================
--- trunk/memcheck/tests/linux-timerfd-syscall.stdout.exp 2008-09-07 09:01:57 UTC (rev 8574)
+++ trunk/memcheck/tests/linux-timerfd-syscall.stdout.exp 2008-09-07 16:55:15 UTC (rev 8575)
@@ -18,7 +18,6 @@
wating timer ...
got timer ticks (20) after 2.0 s
O_NONBLOCK test ...
-timerfd = 5
wating timer (flush the single tick) ...
got timer ticks (1) after 0.1 s
success
@@ -42,7 +41,6 @@
wating timer ...
got timer ticks (20) after 2.0 s
O_NONBLOCK test ...
-timerfd = 5
wating timer (flush the single tick) ...
got timer ticks (1) after 0.1 s
success
|