Add a "git rename" to help with - surprise surprise - renames
[gitweb.git] / t / test-lib.sh
index d3f71d1932310197219155b426687d155bf63c5b..f97f8eb395299f17873f6e6587db235e583cb45e 100755 (executable)
@@ -84,7 +84,9 @@ test_ok_ () {
 test_failure_ () {
        test_count=$(expr "$test_count" + 1)
        test_failure=$(expr "$test_failure" + 1);
-       say "FAIL $test_count: $@"
+       say "FAIL $test_count: $1"
+       shift
+       echo "$@" | sed -e 's/^/        /'
        test "$immediate" == "" || exit 1
 }