summaryrefslogtreecommitdiff
path: root/test/libtest
diff options
context:
space:
mode:
Diffstat (limited to 'test/libtest')
-rw-r--r--test/libtest/test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libtest/test.cpp b/test/libtest/test.cpp
index 1bb6ebcb..9d537ea0 100644
--- a/test/libtest/test.cpp
+++ b/test/libtest/test.cpp
@@ -20,7 +20,7 @@ int Test::execute()
int ret;
ret = init();
- if (ret < 0)
+ if (ret)
return ret;
ret = run();