mirror of
https://github.com/git/git.git
synced 2026-01-19 15:09:01 +00:00
mingw: use proper quoting of the tr argument in t5580
The use of a trailing backslash in an argument to the `tr` command is not portable. While this test case is very specific to Windows, anyway, we still should avoid that warning. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
committed by
Jameson Miller
parent
4f61738a3d
commit
f55560cd86
@@ -31,7 +31,7 @@ esac
|
||||
|
||||
test_expect_success 'clone into absolute path lacking a drive prefix' '
|
||||
USINGBACKSLASHES="$(echo "$WITHOUTDRIVE"/without-drive-prefix |
|
||||
tr / \\)" &&
|
||||
tr / \\\\)" &&
|
||||
git clone . "$USINGBACKSLASHES" &&
|
||||
test -f without-drive-prefix/.git/HEAD
|
||||
'
|
||||
|
||||
Reference in New Issue
Block a user