]> git.pond.sub.org Git - empserver/commitdiff
tests: Name compared files relative to sandbox in output
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 11 Jan 2014 08:53:44 +0000 (09:53 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 19 Jan 2014 09:09:16 +0000 (10:09 +0100)
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>
tests/test-common.sh

index 72edb3d796bf5375e1dfcae4f99fc79425f4e40d..35352195c5f04a18836dd1a3fcceea8173dad2ff 100644 (file)
@@ -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