Merge branch 'rh/test-color-avoid-terminfo-in-original-home' into maint
[gitweb.git] / t / test-lib-functions.sh
index 0698ce7908cb958c6e94a8cfa11c1019de692710..8f8858a5f0a4f7a705960cef5b5558064a86ea28 100644 (file)
@@ -478,7 +478,7 @@ test_external_without_stderr () {
 test_path_is_file () {
        if ! test -f "$1"
        then
-               echo "File $1 doesn't exist. $*"
+               echo "File $1 doesn't exist. $2"
                false
        fi
 }
@@ -486,7 +486,7 @@ test_path_is_file () {
 test_path_is_dir () {
        if ! test -d "$1"
        then
-               echo "Directory $1 doesn't exist. $*"
+               echo "Directory $1 doesn't exist. $2"
                false
        fi
 }