aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2017-09-15 13:45:26 +0800
committerKevin Wolf <kwolf@redhat.com>2017-09-26 14:46:23 +0200
commit93e53fb6952c85ef54b209c92358963fb66d0fa2 (patch)
tree4e8c5c45f905a7eace766c8692c2294e243286cc /tests
parentb1149c1a2ad8eaecca08e78f677513672ff3d627 (diff)
downloadqemu-93e53fb6952c85ef54b209c92358963fb66d0fa2.zip
qemu-93e53fb6952c85ef54b209c92358963fb66d0fa2.tar.gz
qemu-93e53fb6952c85ef54b209c92358963fb66d0fa2.tar.bz2
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>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/qemu-iotests/check2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qemu-iotests/check b/tests/qemu-iotests/check
index d504b6e..4583a0c 100755
--- a/tests/qemu-iotests/check
+++ b/tests/qemu-iotests/check
@@ -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