diff --git a/t/t5580-clone-push-unc.sh b/t/t5580-clone-push-unc.sh index 1e2c4eeebc..e87f2b7404 100755 --- a/t/t5580-clone-push-unc.sh +++ b/t/t5580-clone-push-unc.sh @@ -25,7 +25,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 '