From 670771c617eb062660c28ea515e914050e3049dc Mon Sep 17 00:00:00 2001 From: Olivier Matz Date: Thu, 3 Aug 2017 22:30:02 +0200 Subject: [PATCH 1/1] fix err on test failure --- lib/ecoli_test.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/ecoli_test.c b/lib/ecoli_test.c index 6bd0fa3..3108324 100644 --- a/lib/ecoli_test.c +++ b/lib/ecoli_test.c @@ -201,8 +201,10 @@ static int launch_test(const char *name) } } - if (name != NULL && count == 0) + if (name != NULL && count == 0) { ec_log(EC_LOG_WARNING, "== test %s not found\n", name); + ret = -1; + } return ret; } -- 2.20.1