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 <armbru@pond.sub.org>
This commit is contained in:
Markus Armbruster 2014-01-11 09:53:44 +01:00
parent ab913d73f9
commit c82a481bc3

View file

@ -167,10 +167,10 @@ cmp_out()
perl "$srcdir"/tests/normalize.pl $opt "$act" >"$nrm" perl "$srcdir"/tests/normalize.pl $opt "$act" >"$nrm"
if msg=`diff -q "$exp" "$nrm"` if msg=`diff -q "$exp" "$nrm"`
then then
echo "$exp OK" echo "$i OK"
else else
ret=$? ret=$?
echo "$exp FAIL" echo "$i FAIL"
echo $msg echo $msg
fi fi
done done