Junio C Hamano writes:
> Matthieu Moy writes:
>
>> Elia Pinto writes:
>>
>>> --- 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
Matthieu Moy writes:
> Elia Pinto writes:
>
>> --- 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. $*"
>> +
Elia Pinto writes:
> --- 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.
The second argument to test_path_is_file and test_path_is_dir
must be $2 and not $*, which instead would repeat the file
name in the error message.
Signed-off-by: Elia Pinto
---
t/test-lib-functions.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/t/test-lib-functions.s
4 matches
Mail list logo