diff options
Diffstat (limited to 'nptl/tst-exit3.c')
-rw-r--r-- | nptl/tst-exit3.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/nptl/tst-exit3.c b/nptl/tst-exit3.c index da92c82..9481ed9 100644 --- a/nptl/tst-exit3.c +++ b/nptl/tst-exit3.c @@ -5,6 +5,10 @@ #include <string.h> #include <unistd.h> +static int do_test (void); + +#define TEST_FUNCTION do_test () +#include "../test-skeleton.c" static pthread_barrier_t b; @@ -69,13 +73,11 @@ do_test (void) exit (1); } + delayed_exit (3); + /* Terminate only this thread. */ pthread_exit (NULL); /* NOTREACHED */ return 1; } - -#define EXPECTED_SIGNAL SIGALRM -#define TEST_FUNCTION do_test () -#include "../test-skeleton.c" |