]> git.proxmox.com Git - mirror_qemu.git/commitdiff
iotests: Print full path of bad output if mismatch
authorFam Zheng <famz@redhat.com>
Fri, 15 Sep 2017 05:45:26 +0000 (13:45 +0800)
committerKevin Wolf <kwolf@redhat.com>
Tue, 26 Sep 2017 12:46:23 +0000 (14:46 +0200)
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>
tests/qemu-iotests/check

index d504b6e4553d9f645db7c826c631a0ac61044b6e..4583a0c269be0421a56801f6c4251e971d03731d 100755 (executable)
@@ -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