From: Catalin Enache Date: Wed, 3 Aug 2016 12:42:54 +0000 (+0300) Subject: libevent: update ptests fail condition X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~24753 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b91338a0c09e117cfc58084b66ffcd149765316;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git libevent: update ptests fail condition If exit status is 0 test is succesfull. Signed-off-by: Catalin Enache Signed-off-by: Ross Burton --- 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