]> sourceware.org Git - lvm2.git/commitdiff
Improve harness.sh output: also mention failing test's name near the end of its
authorPetr Rockai <prokai@redhat.com>
Tue, 30 Sep 2008 21:43:16 +0000 (21:43 +0000)
committerPetr Rockai <prokai@redhat.com>
Tue, 30 Sep 2008 21:43:16 +0000 (21:43 +0000)
output. Avoids the need to scroll back just to see which failing test you are
looking at.

test/harness.sh

index 4c07bf8b3f11257690955ce4f223d4d1c02c3fcf..70a81936819f1d46cdc1bd694b51764b0af2da18 100644 (file)
@@ -18,7 +18,8 @@ for t in $tests; do
        printf -- "--- Output: $t -"
        for i in `seq $(($len + 14)) 78`; do echo -n "-"; done; echo
        printf "%s\n" "$out"
-       for i in `seq 1 78`; do echo -n "-"; done; echo
+       printf -- "--- End: $t ----"
+       for i in `seq $(($len + 14)) 78`; do echo -n "-"; done; echo
        failed="$failed $t"
     fi
 done
This page took 0.038882 seconds and 5 git commands to generate.