diff options
Diffstat (limited to 'nptl')
-rw-r--r-- | nptl/tst-sem7.c | 7 | ||||
-rw-r--r-- | nptl/tst-sem8.c | 7 | ||||
-rw-r--r-- | nptl/tst-sem9.c | 7 |
3 files changed, 15 insertions, 6 deletions
diff --git a/nptl/tst-sem7.c b/nptl/tst-sem7.c index d0e7f05..4fc5f1f 100644 --- a/nptl/tst-sem7.c +++ b/nptl/tst-sem7.c @@ -31,8 +31,8 @@ remove_sem (int status, void *arg) } -int -main (void) +static int +do_test (void) { sem_t *s; sem_t *s2; @@ -106,3 +106,6 @@ main (void) return 0; } + +#define TEST_FUNCTION do_test () +#include "../test-skeleton.c" diff --git a/nptl/tst-sem8.c b/nptl/tst-sem8.c index 1aeb1e1..4d7197c 100644 --- a/nptl/tst-sem8.c +++ b/nptl/tst-sem8.c @@ -31,8 +31,8 @@ remove_sem (int status, void *arg) } -int -main (void) +static int +do_test (void) { sem_t *s; int i; @@ -71,3 +71,6 @@ main (void) return 0; } + +#define TEST_FUNCTION do_test () +#include "../test-skeleton.c" diff --git a/nptl/tst-sem9.c b/nptl/tst-sem9.c index 9727486..b7d81a9 100644 --- a/nptl/tst-sem9.c +++ b/nptl/tst-sem9.c @@ -31,8 +31,8 @@ remove_sem (int status, void *arg) } -int -main (void) +static int +do_test (void) { sem_t *s; int i; @@ -78,3 +78,6 @@ main (void) return 0; } + +#define TEST_FUNCTION do_test () +#include "../test-skeleton.c" |