summaryrefslogtreecommitdiffstats
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 10:46:30 +0100
commit1650f672302671f1a98effa9535a6f95dedc957c (patch)
tree5b05874a867f42e633a5944499b909df101714d6
parent8efd48291166cc88da2b29005785c857d8065ace (diff)
downloadpoky-1650f672302671f1a98effa9535a6f95dedc957c.tar.gz
libevent: update ptests fail condition
If exit status is 0 test is succesfull. (From OE-Core rev: 6b91338a0c09e117cfc58084b66ffcd149765316) Signed-off-by: Catalin Enache <catalin.enache@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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
4for test in ./test/* 4for test in ./test/*
5do 5do
6 $test 6 $test
7 if [ $? -eq 0 ] 7 if [ $? -ne 0 ]
8 then 8 then
9 fail=1 9 fail=1
10 fi 10 fi