From 4a8044f33845e2477169c2ba63bd63fce4f5668c Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Mon, 9 Feb 2015 22:55:58 +0100 Subject: [PATCH] tests system command: Fix return value of tests all command --- src/systemcmds/tests/tests_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/systemcmds/tests/tests_main.c b/src/systemcmds/tests/tests_main.c index 04ab6d633e..0768c1d5aa 100644 --- a/src/systemcmds/tests/tests_main.c +++ b/src/systemcmds/tests/tests_main.c @@ -209,7 +209,7 @@ test_all(int argc, char *argv[]) fflush(stdout); - return 0; + return (failcount > 0); } static int