summaryrefslogtreecommitdiff
path: root/meta/recipes-support/libevent
diff options
context:
space:
mode:
authorCatalin Enache <catalin.enache@windriver.com>2016-08-03 15:42:54 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-08-10 09:36:22 +0100
commit6b91338a0c09e117cfc58084b66ffcd149765316 (patch)
tree22e6288393c972d1419075c39ef176e6f0e201c4 /meta/recipes-support/libevent
parent26ab4b431da0c00010e8d399f890c5fbf0b03c94 (diff)
downloadopenembedded-core-6b91338a0c09e117cfc58084b66ffcd149765316.tar.gz
openembedded-core-6b91338a0c09e117cfc58084b66ffcd149765316.tar.bz2
openembedded-core-6b91338a0c09e117cfc58084b66ffcd149765316.zip
libevent: update ptests fail condition
If exit status is 0 test is succesfull. Signed-off-by: Catalin Enache <catalin.enache@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-support/libevent')
-rw-r--r--meta/recipes-support/libevent/libevent/run-ptest2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-support/libevent/libevent/run-ptest b/meta/recipes-support/libevent/libevent/run-ptest
index d521688e77..0241851c70 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