Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Skip archive --remote tests on Windows
author
Johannes Sixt
<j6t@kdbg.org>
Wed, 3 Aug 2011 08:20:08 +0000
(10:20 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 3 Aug 2011 17:16:20 +0000
(10:16 -0700)
These depend on a working git-upload-archive, which is broken on Windows,
because it depends on fork().
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5000-tar-tree.sh
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
e06130c
)
diff --git
a/t/t5000-tar-tree.sh
b/t/t5000-tar-tree.sh
index 9e3ba98fc8d6f0242af38c3f7dc062e6c6ab9604..d9068981f8475c37d30e584bc6b795075a2f3063 100755
(executable)
--- a/
t/t5000-tar-tree.sh
+++ b/
t/t5000-tar-tree.sh
@@
-266,7
+266,7
@@
test_expect_success 'archive --list mentions user filter' '
grep "^bar\$" output
'
grep "^bar\$" output
'
-test_expect_success 'archive --list shows only enabled remote filters' '
+test_expect_success
NOT_MINGW
'archive --list shows only enabled remote filters' '
git archive --list --remote=. >output &&
! grep "^tar\.foo\$" output &&
grep "^bar\$" output
git archive --list --remote=. >output &&
! grep "^tar\.foo\$" output &&
grep "^bar\$" output
@@
-298,7
+298,7
@@
test_expect_success 'extension matching requires dot' '
test_cmp b.tar config-implicittar.foo
'
test_cmp b.tar config-implicittar.foo
'
-test_expect_success 'only enabled filters are available remotely' '
+test_expect_success
NOT_MINGW
'only enabled filters are available remotely' '
test_must_fail git archive --remote=. --format=tar.foo HEAD \
>remote.tar.foo &&
git archive --remote=. --format=bar >remote.bar HEAD &&
test_must_fail git archive --remote=. --format=tar.foo HEAD \
>remote.tar.foo &&
git archive --remote=. --format=bar >remote.bar HEAD &&
@@
-341,12
+341,12
@@
test_expect_success GZIP,GUNZIP 'extract tgz file' '
test_cmp b.tar j.tar
'
test_cmp b.tar j.tar
'
-test_expect_success GZIP 'remote tar.gz is allowed by default' '
+test_expect_success GZIP
,NOT_MINGW
'remote tar.gz is allowed by default' '
git archive --remote=. --format=tar.gz HEAD >remote.tar.gz &&
test_cmp j.tgz remote.tar.gz
'
git archive --remote=. --format=tar.gz HEAD >remote.tar.gz &&
test_cmp j.tgz remote.tar.gz
'
-test_expect_success GZIP 'remote tar.gz can be disabled' '
+test_expect_success GZIP
,NOT_MINGW
'remote tar.gz can be disabled' '
git config tar.tar.gz.remote false &&
test_must_fail git archive --remote=. --format=tar.gz HEAD \
>remote.tar.gz
git config tar.tar.gz.remote false &&
test_must_fail git archive --remote=. --format=tar.gz HEAD \
>remote.tar.gz