diff options
Diffstat (limited to 'fastos/src/tests/threadtest.cpp')
-rw-r--r-- | fastos/src/tests/threadtest.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fastos/src/tests/threadtest.cpp b/fastos/src/tests/threadtest.cpp index 6d4a6b03b8f..f1e56f4fe77 100644 --- a/fastos/src/tests/threadtest.cpp +++ b/fastos/src/tests/threadtest.cpp @@ -592,8 +592,7 @@ int ThreadTest::Main () { time_t now = time(0); printf("[%ld seconds]\n", now-before); before = now; } printf("END OF TEST (%s)\n", _argv[0]); - - return 0; + return allWasOk() ? 0 : 1; } int main (int argc, char **argv) |