mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-12-23 02:28:58 +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