diff options
Diffstat (limited to 'tests/fate-run.sh')
-rwxr-xr-x | tests/fate-run.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/fate-run.sh b/tests/fate-run.sh index 790a4d1283..a0a69ad0a7 100755 --- a/tests/fate-run.sh +++ b/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" |