diff --git a/t/test-lib.sh b/t/test-lib.sh index c1839f70b9..6f6244ab7e 100644 --- a/t/test-lib.sh +++ b/t/test-lib.sh @@ -201,7 +201,7 @@ test_tick () { # Both and default to . test_commit () { - file=${2:-$(echo "$1" | tr 'A-Z' 'a-z')} + file=${2:-"$1.t"} echo "${3-$1}" > "$file" && git add "$file" && test_tick &&