t5503: Mark tests as broken on MinGW

The tests fail on MinGW because GIT_DEBUG_SEND_PACK is not
supported. See
http://article.gmane.org/gmane.comp.version-control.msysgit/1992
These failures are marked known breakages.

A check for MINGW is added in front of each test marked, although
the first check would be sufficient.  Adding the check multiple times,
however, allows to remove the checks independently of each other.

Signed-off-by: Steffen Prohaska <prohaska@zib.de>
This commit is contained in:
Steffen Prohaska
2008-04-13 11:21:54 +02:00
parent fe3238dc4c
commit f94ce3a59d

View File

@@ -41,7 +41,12 @@ cat - <<EOF >expect
want $A
#E
EOF
test_expect_success 'fetch A (new commit : 1 connection)' '
case $(uname -s) in
*MINGW*) test_expect=test_expect_failure;;
*) test_expect=test_expect_success;;
esac
$test_expect 'fetch A (new commit : 1 connection)' '
rm -f $U
(
cd cloned &&
@@ -71,7 +76,11 @@ want $C
want $T
#E
EOF
test_expect_success 'fetch C, T (new branch, tag : 1 connection)' '
case $(uname -s) in
*MINGW*) test_expect=test_expect_failure;;
*) test_expect=test_expect_success;;
esac
$test_expect 'fetch C, T (new branch, tag : 1 connection)' '
rm -f $U
(
cd cloned &&
@@ -107,7 +116,11 @@ want $B
want $S
#E
EOF
test_expect_success 'fetch B, S (commit and tag : 1 connection)' '
case $(uname -s) in
*MINGW*) test_expect=test_expect_failure;;
*) test_expect=test_expect_success;;
esac
$test_expect 'fetch B, S (commit and tag : 1 connection)' '
rm -f $U
(
cd cloned &&
@@ -127,7 +140,11 @@ want $B
want $S
#E
EOF
test_expect_success 'new clone fetch master and tags' '
case $(uname -s) in
*MINGW*) test_expect=test_expect_failure;;
*) test_expect=test_expect_success;;
esac
$test_expect 'new clone fetch master and tags' '
git branch -D cat
rm -f $U
(