Browse Source

fate: give stderr hint when a test fails.

tags/n0.10
Clément Bœsch 13 years ago
parent
commit
3d38a7260b
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      tests/fate-run.sh

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

@@ -136,5 +136,9 @@ fi

echo "${test}:${sig:-$err}:$($base64 <$cmpfile):$($base64 <$errfile)" >$repfile

test $err = 0 && rm -f $outfile $errfile $cmpfile $cleanfiles
if test $err = 0; then
rm -f $outfile $errfile $cmpfile $cleanfiles
else
echo "Test $test failed. Look at $errfile for details."
fi
exit $err

Loading…
Cancel
Save