Revision ffe72624 tests/fate-run.sh

View differences:

tests/fate-run.sh
95 95

  
96 96
mkdir -p "$outdir"
97 97

  
98
$command > "$outfile" 2>/dev/null || exit
98
$command > "$outfile" 2>/dev/null
99
err=$?
99 100

  
100 101
if ! test -e "$ref"; then
101 102
    echo "reference file '$ref' not found"
......
108 109
    stddev) stddev     "$ref" "$outfile" "$fuzz"    ;;
109 110
esac
110 111

  
111
test $? = 0 && rm $outfile
112
cmperr=$?
113
test $err = 0 && err=$cmperr
114
test $err = 0 && rm $outfile

Also available in: Unified diff