diff options
author | Martin Storsjö <martin@martin.st> | 2016-12-29 01:15:17 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2016-12-29 22:50:07 +0300 |
commit | 5c83b4d550ea42653fece092987bab56ccc32ead (patch) | |
tree | e9c2abb6aae2c25c8729cf25f9c365dbd787770e /tests/fate-run.sh | |
parent | 35d1f726eb9fdd376ab900587fb02122b72f2b9a (diff) |
fate: Unset the sig variable if ignoring a test failure
Otherwise the .rep file would still contain a signal instead of a
zero, even if the process returned success.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'tests/fate-run.sh')
-rwxr-xr-x | tests/fate-run.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fate-run.sh b/tests/fate-run.sh index 27cd6261a5..e1aaf647fa 100755 --- a/tests/fate-run.sh +++ b/tests/fate-run.sh @@ -214,7 +214,7 @@ if test -e "$ref" || test $cmp = "oneline" ; then cmperr=$? test $err = 0 && err=$cmperr if [ "$report_type" = "ignore" ]; then - test $err = 0 || echo "IGNORE fate-${test}" && err=0 + test $err = 0 || echo "IGNORE fate-${test}" && err=0 && unset sig else test $err = 0 || cat $cmpfile fi |