From: Bart Van Assche Date: Mon, 23 Jun 2008 12:25:12 +0000 (+0000) Subject: Result of timerfd() syscall is no longer printed to stdout, which should make this... X-Git-Tag: svn/VALGRIND_3_4_0~441 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bad4b265c946f7c738ccde75d7c751d604e90b13;p=thirdparty%2Fvalgrind.git Result of timerfd() syscall is no longer printed to stdout, which should make this regression test more reproducible. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8271 --- diff --git a/memcheck/tests/linux-timerfd-syscall.c b/memcheck/tests/linux-timerfd-syscall.c index b9694ec487..5c0dd21888 100644 --- a/memcheck/tests/linux-timerfd-syscall.c +++ b/memcheck/tests/linux-timerfd-syscall.c @@ -188,7 +188,6 @@ int main(int ac, char **av) perror("timerfd_create"); return 1; } - fprintf(stdout, "timerfd = %d\n", tfd); if (timerfd_settime(tfd, 0, &tmr, NULL)) { diff --git a/memcheck/tests/linux-timerfd-syscall.stdout.exp b/memcheck/tests/linux-timerfd-syscall.stdout.exp index 446f0863fa..bd4a1905fe 100644 --- a/memcheck/tests/linux-timerfd-syscall.stdout.exp +++ b/memcheck/tests/linux-timerfd-syscall.stdout.exp @@ -5,7 +5,6 @@ --------------------------------------- relative timer test (at 500 ms) ... -timerfd = 3 wating timer ... got timer ticks (1) after 0.5 s absolute timer test (at 500 ms) ... @@ -19,7 +18,7 @@ sleeping 1 second ... wating timer ... got timer ticks (20) after 2.0 s O_NONBLOCK test ... -timerfd = 3 +timerfd = 5 wating timer (flush the single tick) ... got timer ticks (1) after 0.1 s success @@ -30,7 +29,6 @@ success --------------------------------------- relative timer test (at 500 ms) ... -timerfd = 3 wating timer ... got timer ticks (1) after 0.5 s absolute timer test (at 500 ms) ... @@ -44,7 +42,7 @@ sleeping 1 second ... wating timer ... got timer ticks (20) after 2.0 s O_NONBLOCK test ... -timerfd = 3 +timerfd = 5 wating timer (flush the single tick) ... got timer ticks (1) after 0.1 s success