Browse Source

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>
tags/n3.4
Martin Storsjö 9 years ago
parent
commit
5c83b4d550
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tests/fate-run.sh

+ 1
- 1
tests/fate-run.sh View File

@@ -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


Loading…
Cancel
Save