summaryrefslogtreecommitdiffstats
path: root/fastos/src/tests/thread_bounce_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fastos/src/tests/thread_bounce_test.cpp')
-rw-r--r--fastos/src/tests/thread_bounce_test.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/fastos/src/tests/thread_bounce_test.cpp b/fastos/src/tests/thread_bounce_test.cpp
index 5a34193926c..69ca81e3708 100644
--- a/fastos/src/tests/thread_bounce_test.cpp
+++ b/fastos/src/tests/thread_bounce_test.cpp
@@ -81,11 +81,10 @@ int Thread_Bounce_Test::Main ()
time_t before = time(0);
BounceTest();
- { time_t now = time(0); printf("[%ld seconds]\n", now-before); before = now; }
+ { 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)