summaryrefslogtreecommitdiff
path: root/tests/test-pthread-thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-pthread-thread.c')
-rw-r--r--tests/test-pthread-thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-pthread-thread.c b/tests/test-pthread-thread.c
index f0a19793..6390d8f7 100644
--- a/tests/test-pthread-thread.c
+++ b/tests/test-pthread-thread.c
@@ -63,7 +63,7 @@ main ()
/* Check that worker_thread_func () has finished executing. */
ASSERT (work_done);
- return 0;
+ return test_exit_status;
}
else
{