diff options
Diffstat (limited to 'fastos/src/tests/thread_sleep_test.cpp')
-rw-r--r-- | fastos/src/tests/thread_sleep_test.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fastos/src/tests/thread_sleep_test.cpp b/fastos/src/tests/thread_sleep_test.cpp index 4e84d9fef80..87b2c040b3a 100644 --- a/fastos/src/tests/thread_sleep_test.cpp +++ b/fastos/src/tests/thread_sleep_test.cpp @@ -43,8 +43,7 @@ int Thread_Sleep_Test::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) |