iotests: Print full path of bad output if mismatch

So it is easier to copy paste the path.

Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
Fam Zheng 2017-09-15 13:45:26 +08:00 committed by Kevin Wolf
parent b1149c1a2a
commit 93e53fb695
1 changed files with 1 additions and 1 deletions

View File

@ -353,7 +353,7 @@ do
else
echo " - output mismatch (see $seq.out.bad)"
mv $tmp.out $seq.out.bad
$diff -w "$reference" $seq.out.bad
$diff -w "$reference" $(realpath $seq.out.bad)
err=true
fi
fi