Commit ed1e2f33 authored by Christian Boltz's avatar Christian Boltz

fix utils/test/runtests-py*.sh exitcode

utils/test/runtests-py*.sh always exits with $? = 1 even if there is no 
error. This is caused by the last executed command, test -n

This patch changes it to test -z so that we'll get $? = 0 if all tests 
Acked-by: default avatarSeth Arnold <>
parent a44b6ce0
......@@ -24,7 +24,7 @@ for file in *.py ; do
test -n "$failed" && {
test -z "$failed" || {
echo "*** The following tests failed:"
echo "*** $failed"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment