From: Catalin Enache Date: Wed, 3 Aug 2016 12:42:54 +0000 (+0300) Subject: libevent: update ptests fail condition X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1650f672302671f1a98effa9535a6f95dedc957c;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git libevent: update ptests fail condition If exit status is 0 test is succesfull. (From OE-Core rev: 6b91338a0c09e117cfc58084b66ffcd149765316) Signed-off-by: Catalin Enache Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-support/libevent/libevent/run-ptest b/meta/recipes-support/libevent/libevent/run-ptest index d521688e774..0241851c70a 100644 --- a/meta/recipes-support/libevent/libevent/run-ptest +++ b/meta/recipes-support/libevent/libevent/run-ptest @@ -4,7 +4,7 @@ fail=0 for test in ./test/* do $test - if [ $? -eq 0 ] + if [ $? -ne 0 ] then fail=1 fi