]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
check: use full paths for diff on error
authorDave Chinner <dchinner@redhat.com>
Fri, 2 Nov 2018 01:09:48 +0000 (12:09 +1100)
committerEryu Guan <guaneryu@gmail.com>
Sat, 3 Nov 2018 08:49:12 +0000 (16:49 +0800)
commit168bae39582266a27fbab8e5250699ca85881a5f
treedc0495ef501b4203b3b0b77483b951a15cbdd69f
parent1deed13f69b224061b39cf0f01838decc80d3ae3
check: use full paths for diff on error

i don't run fstests from the source directory, so when I get a
golden image mismatch the relative path to the golden output is
not useful:

(Run 'diff -u tests/generic/013.out /home/dave/src/xfstests-dev/results//xfs_64k/generic/013.out.bad'  to see the entire diff)

Change the output to emit the real path for the golden out so this
can be cut and pasted and run from anywhere.

(Run 'diff -u /home/dave/src/xfstests-dev/tests/generic/013.out /home/dave/src/xfstests-dev/results//xfs_64k/generic/013.out.bad'  to see the entire diff)

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
check