From: Fam Zheng Date: Fri, 15 Sep 2017 05:45:26 +0000 (+0800) Subject: iotests: Print full path of bad output if mismatch X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=93e53fb6;p=qemu.git iotests: Print full path of bad output if mismatch So it is easier to copy paste the path. Signed-off-by: Fam Zheng Signed-off-by: Kevin Wolf --- diff --git a/tests/qemu-iotests/check b/tests/qemu-iotests/check index d504b6e455..4583a0c269 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