Skip to content

Commit 093eb67

Browse files
committed
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 <[email protected]>
1 parent 42a9d17 commit 093eb67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t5580-clone-push-unc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ esac
3131

3232
test_expect_success 'clone into absolute path lacking a drive prefix' '
3333
USINGBACKSLASHES="$(echo "$WITHOUTDRIVE"/without-drive-prefix |
34-
tr / \\)" &&
34+
tr / \\\\)" &&
3535
git clone . "$USINGBACKSLASHES" &&
3636
test -f without-drive-prefix/.git/HEAD
3737
'

0 commit comments

Comments
 (0)