diff options
author | Roland McGrath <roland@gnu.org> | 2004-08-11 23:32:56 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2004-08-11 23:32:56 +0000 |
commit | 0569cbbc02bee37c3d0f69f41a254697c68a6d61 (patch) | |
tree | c28b32a311b1f6e9534e3afe021fca48ceed1500 /rt/tst-timer2.c | |
parent | 90595fb635047061f7bcb6be99b00a9f33d057b1 (diff) | |
download | glibc-0569cbbc02bee37c3d0f69f41a254697c68a6d61.tar.gz glibc-0569cbbc02bee37c3d0f69f41a254697c68a6d61.tar.xz glibc-0569cbbc02bee37c3d0f69f41a254697c68a6d61.zip |
* rt/tst-timer2.c (do_test): If timer_create fails, just continue.
* rt/tst-timer4.c (do_test): If one of the timer_create calls fails, return 1 immediately.
Diffstat (limited to 'rt/tst-timer2.c')
-rw-r--r-- | rt/tst-timer2.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/rt/tst-timer2.c b/rt/tst-timer2.c index 74ccc492b0..60026c1efd 100644 --- a/rt/tst-timer2.c +++ b/rt/tst-timer2.c @@ -40,7 +40,10 @@ do_test (void) printf ("cnt = %d\n", i); if (timer_create (CLOCK_REALTIME, &sigev, &timerId) < 0) - perror ("timer_create"); + { + perror ("timer_create"); + continue; + } res = timer_settime (timerId, 0, &itval, NULL); if (res < 0) |