If exit status is 0 test is succesfull.
Signed-off-by: Catalin Enache <[email protected]>
---
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
--
2.7.4
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core