]> code.ossystems Code Review - openembedded-core.git/commitdiff
libevent: update ptests fail condition
authorCatalin Enache <catalin.enache@windriver.com>
Wed, 3 Aug 2016 12:42:54 +0000 (15:42 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 10 Aug 2016 08:36:22 +0000 (09:36 +0100)
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>
meta/recipes-support/libevent/libevent/run-ptest

index d521688e774df8cd05785487596d306c1b82de1a..0241851c70a8aeba26e7d805d37b705559676385 100644 (file)
@@ -4,7 +4,7 @@ fail=0
 for test in ./test/*
 do
        $test
-       if [ $? -eq 0 ]
+       if [ $? -ne 0 ]
        then
                fail=1
        fi