diff options
author | bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> | 2008-06-23 12:25:12 +0000 |
---|---|---|
committer | bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> | 2008-06-23 12:25:12 +0000 |
commit | 4d626741cef97c498eef2249e216e429845c8139 (patch) | |
tree | 279dd83e921e69b995a36648108cf6f8ddefc8d8 /memcheck | |
parent | 9d865faec8e37f2bc12ec5f9ba19373314626d71 (diff) |
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 a5019735-40e9-0310-863c-91ae7b9d1cf9
Diffstat (limited to 'memcheck')
-rw-r--r-- | memcheck/tests/linux-timerfd-syscall.c | 1 | ||||
-rw-r--r-- | 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 b9694ec4..5c0dd218 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 446f0863..bd4a1905 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 |