mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-11-22 12:35:13 +00:00
Fix test suite error in the return code: GLOBAL_RESULT were always true.
This commit is contained in:
parent
e78af47c56
commit
f72534790a
@ -389,11 +389,9 @@ notice "Test results summary"
|
||||
print "${#startloops} loop devices busy at start"
|
||||
|
||||
for t in $tests; do
|
||||
echo "$t\t${results[$t]:-FAIL}"
|
||||
done
|
||||
|
||||
for r in ${(v)results}; do
|
||||
[[ "$r" == "SUCCESS" ]] || GLOBAL_RESULT=1
|
||||
res=${results[$t]:-FAIL}
|
||||
[[ "$res" == "SUCCESS" ]] || GLOBAL_RESULT=1
|
||||
echo "$t\t$res"
|
||||
done
|
||||
|
||||
print "${#endloops} loop devices busy at end"
|
||||
|
Loading…
Reference in New Issue
Block a user