[oe-commits] [openembedded-core] 07/51: libevent: update ptests fail condition

git at git.openembedded.org git at git.openembedded.org
Wed Aug 10 09:47:32 UTC 2016


rpurdie pushed a commit to branch master
in repository openembedded-core.

commit 6b91338a0c09e117cfc58084b66ffcd149765316
Author: Catalin Enache <catalin.enache at windriver.com>
AuthorDate: Wed Aug 3 15:42:54 2016 +0300

    libevent: update ptests fail condition
    
    If exit status is 0 test is succesfull.
    
    Signed-off-by: Catalin Enache <catalin.enache at windriver.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/recipes-support/libevent/libevent/run-ptest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-support/libevent/libevent/run-ptest b/meta/recipes-support/libevent/libevent/run-ptest
index d521688..0241851 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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list