aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-03-23 09:59:34 +0000
committerRoland McGrath <roland@gnu.org>2003-03-23 09:59:34 +0000
commit24eaaef61dffee283b6d32328f3e5126063d9d2a (patch)
tree62e6a4727c9e25e8cab570aaae94a553c7553117
parentad551664ee17f355935b59711600070c5d3fa1f2 (diff)
downloadglibc-24eaaef61dffee283b6d32328f3e5126063d9d2a.zip
glibc-24eaaef61dffee283b6d32328f3e5126063d9d2a.tar.gz
glibc-24eaaef61dffee283b6d32328f3e5126063d9d2a.tar.bz2
2003-03-23 Roland McGrath <roland@redhat.com>
* tst-mutex4.c: Use test-skeleton.c. * tst-spin2.c: Likewise. * tst-sysconf.c: Likewise. * tst-barrier2.c: Likewise. * tst-cond4.c: Likewise. * tst-cond6.c: Likewise. * tst-rwlock4.c: Likewise. * tst-flock2.c (do_test): Use return instead of exit.
-rw-r--r--nptl/tst-sysconf.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/nptl/tst-sysconf.c b/nptl/tst-sysconf.c
index b8ab7b0..3ad1b6a 100644
--- a/nptl/tst-sysconf.c
+++ b/nptl/tst-sysconf.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002 Free Software Foundation, Inc.
+/* Copyright (C) 2002, 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
@@ -22,8 +22,8 @@
#include <unistd.h>
-int
-main (void)
+static int
+do_test (void)
{
puts ("We expect no limits");
/* We have no fixed limit on the number of threads. Make sure the
@@ -43,3 +43,6 @@ main (void)
return 0;
}
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"