From: Olivier Matz Date: Thu, 3 Aug 2017 20:30:02 +0000 (+0200) Subject: fix err on test failure X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=670771c617eb062660c28ea515e914050e3049dc;p=protos%2Flibecoli.git fix err on test failure --- 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; }