From: Junio C Hamano Date: Wed, 13 May 2015 21:05:52 +0000 (-0700) Subject: Merge branch 'ep/fix-test-lib-functions-report' into maint X-Git-Tag: v2.4.1~5 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/21b56b92590e68fde07abbba7676c91cd883031b?hp=8a1d89745d1b60d0d9e8bd91e4e9564673b6c22a Merge branch 'ep/fix-test-lib-functions-report' into maint * ep/fix-test-lib-functions-report: test-lib-functions.sh: fix the second argument to some helper functions --- diff --git a/t/test-lib-functions.sh b/t/test-lib-functions.sh index 0698ce7908..8f8858a5f0 100644 --- a/t/test-lib-functions.sh +++ b/t/test-lib-functions.sh @@ -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 }