Skip to content

Commit 2bcf889

Browse files
committed
Disable failing t5580 tests
Tracked as #59
1 parent 10781e3 commit 2bcf889

File tree

1 file changed

+43
-4
lines changed

1 file changed

+43
-4
lines changed

expect-cygwin-test-failures.patch

Lines changed: 43 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,18 +167,57 @@
167167
check_prot_host_port_path $h:/~$r $p "$h" NONE "~$r"
168168
'
169169
done
170-
--- a/git-v2.38.2/t/t5580-unc-paths.sh 2022-12-11 00:32:48.000000000 +0000
171-
+++ b/git-v2.38.2/t/t5580-unc-paths.sh 2022-12-11 15:00:52.844936300 +0000
172-
@@ -61,7 +61,8 @@ test_expect_success fetch '
170+
--- a/git-v2.42.0/t/t5580-unc-paths.sh
171+
+++ b/git-v2.42.0/t/t5580-unc-paths.sh
172+
@@ -40,28 +40,33 @@ test_expect_success setup '
173+
test_commit initial
174+
'
175+
176+
-test_expect_success clone '
177+
+# https://github.com/cygporter/git/issues/59
178+
+test_expect_failure clone '
179+
git clone "file://$UNCPATH" clone
180+
'
181+
182+
-test_expect_success 'clone without file://' '
183+
+# https://github.com/cygporter/git/issues/59
184+
+test_expect_failure 'clone without file://' '
185+
git clone "$UNCPATH" clone-without-file
186+
'
187+
188+
-test_expect_success 'clone with backslashed path' '
189+
+# https://github.com/cygporter/git/issues/59
190+
+test_expect_failure 'clone with backslashed path' '
191+
BACKSLASHED="$(echo "$UNCPATH" | tr / \\\\)" &&
192+
git clone "$BACKSLASHED" backslashed
193+
'
194+
195+
-test_expect_success fetch '
196+
+# https://github.com/cygporter/git/issues/59
197+
+test_expect_failure fetch '
198+
git init to-fetch &&
199+
(
200+
cd to-fetch &&
201+
git fetch "$UNCPATH" main
173202
)
174203
'
175204

176205
-test_expect_success push '
177-
+# https://github.com/me-and/Cygwin-Git/issues/43
206+
+# https://github.com/cygporter/git/issues/43
178207
+test_expect_failure push '
179208
(
180209
cd clone &&
181210
git checkout -b to-push &&
211+
@@ -78,7 +83,8 @@ test_expect_success MINGW 'remote nick cannot contain backslashes' '
212+
test_i18ngrep ! "unable to access" err
213+
'
214+
215+
-test_expect_success 'unc alternates' '
216+
+# https://github.com/cygporter/git/issues/59
217+
+test_expect_failure 'unc alternates' '
218+
tree="$(git rev-parse HEAD:)" &&
219+
mkdir test-unc-alternate &&
220+
(
182221
--- a/git-v2.38.2/t/t5601-clone.sh 2022-12-11 00:32:48.000000000 +0000
183222
+++ b/git-v2.38.2/t/t5601-clone.sh 2022-12-11 15:05:25.695555200 +0000
184223
@@ -532,7 +532,8 @@ done

0 commit comments

Comments
 (0)