Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'js/t5580-unc-alternate-test'
author
Junio C Hamano
<gitster@pobox.com>
Sun, 19 May 2019 07:45:32 +0000
(16:45 +0900)
committer
Junio C Hamano
<gitster@pobox.com>
Sun, 19 May 2019 07:45:32 +0000
(16:45 +0900)
An additional test for MinGW
* js/t5580-unc-alternate-test:
t5580: verify that alternates can be UNC paths
t/t5580-clone-push-unc.sh
patch
|
blob
|
history
raw
(from parent 1:
b5fb62b
)
diff --git
a/t/t5580-clone-push-unc.sh
b/t/t5580-clone-push-unc.sh
index 217adf3a632b49e9322de1db78c3e1a588c3b7bd..b3c8a92450bc0e9ba869563ef1a7a4c1362cebd6 100755
(executable)
--- a/
t/t5580-clone-push-unc.sh
+++ b/
t/t5580-clone-push-unc.sh
@@
-62,4
+62,16
@@
test_expect_success MINGW 'remote nick cannot contain backslashes' '
test_i18ngrep ! "unable to access" err
'
+test_expect_success 'unc alternates' '
+ tree="$(git rev-parse HEAD:)" &&
+ mkdir test-unc-alternate &&
+ (
+ cd test-unc-alternate &&
+ git init &&
+ test_must_fail git show $tree &&
+ echo "$UNCPATH/.git/objects" >.git/objects/info/alternates &&
+ git show $tree
+ )
+'
+
test_done