Skip to content

Commit 1b57e56

Browse files
j6tgitster
authored andcommitted
Skip archive --remote tests on Windows
These depend on a working git-upload-archive, which is broken on Windows, because it depends on fork(). Signed-off-by: Johannes Sixt <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent e06130c commit 1b57e56

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

t/t5000-tar-tree.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ test_expect_success 'archive --list mentions user filter' '
266266
grep "^bar\$" output
267267
'
268268

269-
test_expect_success 'archive --list shows only enabled remote filters' '
269+
test_expect_success NOT_MINGW 'archive --list shows only enabled remote filters' '
270270
git archive --list --remote=. >output &&
271271
! grep "^tar\.foo\$" output &&
272272
grep "^bar\$" output
@@ -298,7 +298,7 @@ test_expect_success 'extension matching requires dot' '
298298
test_cmp b.tar config-implicittar.foo
299299
'
300300

301-
test_expect_success 'only enabled filters are available remotely' '
301+
test_expect_success NOT_MINGW 'only enabled filters are available remotely' '
302302
test_must_fail git archive --remote=. --format=tar.foo HEAD \
303303
>remote.tar.foo &&
304304
git archive --remote=. --format=bar >remote.bar HEAD &&
@@ -341,12 +341,12 @@ test_expect_success GZIP,GUNZIP 'extract tgz file' '
341341
test_cmp b.tar j.tar
342342
'
343343

344-
test_expect_success GZIP 'remote tar.gz is allowed by default' '
344+
test_expect_success GZIP,NOT_MINGW 'remote tar.gz is allowed by default' '
345345
git archive --remote=. --format=tar.gz HEAD >remote.tar.gz &&
346346
test_cmp j.tgz remote.tar.gz
347347
'
348348

349-
test_expect_success GZIP 'remote tar.gz can be disabled' '
349+
test_expect_success GZIP,NOT_MINGW 'remote tar.gz can be disabled' '
350350
git config tar.tar.gz.remote false &&
351351
test_must_fail git archive --remote=. --format=tar.gz HEAD \
352352
>remote.tar.gz

0 commit comments

Comments
 (0)