From bad4b265c946f7c738ccde75d7c751d604e90b13 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Mon, 23 Jun 2008 12:25:12 +0000 Subject: [PATCH] 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 --- memcheck/tests/linux-timerfd-syscall.c | 1 - memcheck/tests/linux-timerfd-syscall.stdout.exp | 6 ++---- 2 files changed, 2 insertions(+), 5 deletions(-) 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 -- 2.47.3