Browse Source

Merge branch 'js/test-unc-fetch'

Test updates.

* js/test-unc-fetch:
  t5580: test cloning without file://, test fetching via UNC paths
maint
Junio C Hamano 5 years ago
parent
commit
fc25a19265
  1. 12
      t/t5580-unc-paths.sh

12
t/t5580-clone-push-unc.sh → t/t5580-unc-paths.sh

@ -40,11 +40,23 @@ test_expect_success clone ' @@ -40,11 +40,23 @@ test_expect_success clone '
git clone "file://$UNCPATH" clone
'

test_expect_success 'clone without file://' '
git clone "$UNCPATH" clone-without-file
'

test_expect_success 'clone with backslashed path' '
BACKSLASHED="$(echo "$UNCPATH" | tr / \\\\)" &&
git clone "$BACKSLASHED" backslashed
'

test_expect_success fetch '
git init to-fetch &&
(
cd to-fetch &&
git fetch "$UNCPATH" master
)
'

test_expect_success push '
(
cd clone &&
Loading…
Cancel
Save