diff options
Diffstat (limited to 'validation')
| -rwxr-xr-x | validation/test-suite | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/validation/test-suite b/validation/test-suite index adcb1a65..03785504 100755 --- a/validation/test-suite +++ b/validation/test-suite @@ -328,17 +328,19 @@ do_test() fi fi - [ "$test_failed" -eq "$must_fail" ] || failed=1 - if [ "$must_fail" -eq "1" ]; then if [ "$test_failed" -eq "1" ]; then echo "info: test '$file' is known to fail" else echo "error: test '$file' is known to fail but succeed!" - test_failed=1 fi fi + if [ "$test_failed" -ne "$must_fail" ]; then + test_failed=1 + failed=1 + fi + if [ "$test_failed" -eq "1" ]; then ko_tests=$(($ko_tests + 1)) else |
