summaryrefslogtreecommitdiff
path: root/t/t5580-clone-push-unc.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t5580-clone-push-unc.sh')
-rwxr-xr-xt/t5580-clone-push-unc.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/t/t5580-clone-push-unc.sh b/t/t5580-clone-push-unc.sh
index ba548df4a9..217adf3a63 100755
--- a/t/t5580-clone-push-unc.sh
+++ b/t/t5580-clone-push-unc.sh
@@ -40,6 +40,11 @@ test_expect_success clone '
git clone "file://$UNCPATH" clone
'
+test_expect_success 'clone with backslashed path' '
+ BACKSLASHED="$(echo "$UNCPATH" | tr / \\\\)" &&
+ git clone "$BACKSLASHED" backslashed
+'
+
test_expect_success push '
(
cd clone &&