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>
This commit is contained in:
Catalin Enache 2016-08-03 15:42:54 +03:00 committed by Richard Purdie
parent 8efd482911
commit 1650f67230
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ fail=0
for test in ./test/*
do
$test
if [ $? -eq 0 ]
if [ $? -ne 0 ]
then
fail=1
fi