fate: Omit the results if the test passed

The FATE server does not report this information anyway and omitting
it makes the successful run send much less data.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
pull/133/head
Timothy Gu 10 years ago committed by Luca Barbato
parent d34039b171
commit 3b1e35d46d
  1. 8
      tests/fate-run.sh

@ -211,7 +211,13 @@ else
err=1
fi
echo "${test}:${sig:-$err}:$($base64 <$cmpfile):$($base64 <$errfile)" >$repfile
if [ $err -eq 0 ]; then
unset cmpo erro
else
cmpo="$($base64 <$cmpfile)"
erro="$($base64 <$errfile)"
fi
echo "${test}:${sig:-$err}:$cmpo:$erro" >$repfile
if test $err != 0 && test $gen != "no" ; then
echo "GEN $ref"

Loading…
Cancel
Save