From c82a481bc3b2a080de0e30a7e794813e02af9d71 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Sat, 11 Jan 2014 09:53:44 +0100 Subject: [PATCH] tests: Name compared files relative to sandbox in output Instead of relative to build directory. Shorter, and independent of the path from build to source directory. Signed-off-by: Markus Armbruster --- tests/test-common.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test-common.sh b/tests/test-common.sh index 72edb3d7..35352195 100644 --- a/tests/test-common.sh +++ b/tests/test-common.sh @@ -167,10 +167,10 @@ cmp_out() perl "$srcdir"/tests/normalize.pl $opt "$act" >"$nrm" if msg=`diff -q "$exp" "$nrm"` then - echo "$exp OK" + echo "$i OK" else ret=$? - echo "$exp FAIL" + echo "$i FAIL" echo $msg fi done