diff options
author | Roland McGrath <roland@gnu.org> | 2003-03-23 10:01:48 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2003-03-23 10:01:48 +0000 |
commit | b910f7887bdc3c07e460c8ee25ba552c6a2249a5 (patch) | |
tree | 06271b5c9ed70bf9c3dd2a08c551a2a54c1ed302 /nptl/tst-signal1.c | |
parent | 24eaaef61dffee283b6d32328f3e5126063d9d2a (diff) | |
download | glibc-b910f7887bdc3c07e460c8ee25ba552c6a2249a5.zip glibc-b910f7887bdc3c07e460c8ee25ba552c6a2249a5.tar.gz glibc-b910f7887bdc3c07e460c8ee25ba552c6a2249a5.tar.bz2 |
* tst-join5.c (tf1, tf2): Add a cast.
* Makeconfig (includes): Append -I$(..)nptl to this variable.
* tst-barrier2.c (do_test) [! _POSIX_THREAD_PROCESS_SHARED]:
Don't test anything.
* tst-cond4.c: Likewise.
* tst-cond6.c: Likewise.
* tst-flock2.c: Likewise.
* tst-mutex4.c: Likewise.
* tst-rwlock4.c: Likewise.
* tst-signal1.c: Likewise.
* tst-spin2.c: Likewise.
* tst-cond11.c [! _POSIX_CLOCK_SELECTION]: Likewise.
* 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-unload.c: Likewise.
* tst-flock2.c (do_test): Use return instead of exit.
Diffstat (limited to 'nptl/tst-signal1.c')
-rw-r--r-- | nptl/tst-signal1.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/nptl/tst-signal1.c b/nptl/tst-signal1.c index e7480f5..ad4b787 100644 --- a/nptl/tst-signal1.c +++ b/nptl/tst-signal1.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. @@ -94,6 +94,13 @@ receiver (void) static int do_test (void) { +#if ! _POSIX_THREAD_PROCESS_SHARED + + puts ("_POSIX_THREAD_PROCESS_SHARED not supported, test skipped"); + return 0; + +#else + char tmp[] = "/tmp/tst-signal1-XXXXXX"; int fd = mkstemp (tmp); @@ -183,6 +190,7 @@ do_test (void) } return 0; +#endif } #define TEST_FUNCTION do_test () |