summaryrefslogtreecommitdiff
path: root/test/nptl
diff options
context:
space:
mode:
Diffstat (limited to 'test/nptl')
-rw-r--r--test/nptl/Makefile.in1
-rw-r--r--test/nptl/tst-clock2.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/test/nptl/Makefile.in b/test/nptl/Makefile.in
index b6a279ebf..667156945 100644
--- a/test/nptl/Makefile.in
+++ b/test/nptl/Makefile.in
@@ -221,7 +221,6 @@ OPTS_tst-cancel7 = --command ./tst-cancel7
OPTS_tst-mqueue7 = -- ./tst-mqueue7
OPTS_tst-exec4 = ./tst-exec4
-RET_tst-clock2 := 1
RET_tst-cputimer1 := 1
RET_tst-cputimer2 := 1
RET_tst-cputimer3 := 1
diff --git a/test/nptl/tst-clock2.c b/test/nptl/tst-clock2.c
index 49a769bf4..bca40956e 100644
--- a/test/nptl/tst-clock2.c
+++ b/test/nptl/tst-clock2.c
@@ -62,7 +62,7 @@ do_test (void)
if (sysconf (_SC_THREAD_CPUTIME) < 0)
{
puts ("_POSIX_THREAD_CPUTIME option not available");
- return 1;
+ return 0;
}
# endif