iotests: Fix duplicated diff output on failure

Commit 70ff5b07 wanted to move the diff between actual and reference
output to the end after printing the test result line. It really only
copied it, though, so the diff is now displayed twice. Remove the old
one.

Fixes: 70ff5b07fcdd378180ad2d5cc0b0d5e67e7ef325
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
Kevin Wolf 2019-06-03 15:43:20 +02:00
parent 3dd3e248eb
commit 11ba81c3cd

View File

@ -876,7 +876,6 @@ do
fi fi
else else
mv $tmp.out $seq.out.bad mv $tmp.out $seq.out.bad
$diff -w "$reference" "$PWD"/$seq.out.bad
status="fail" status="fail"
results="output mismatch (see $seq.out.bad)" results="output mismatch (see $seq.out.bad)"
printdiff=true printdiff=true