diff --git a/t/t5503-tagfollow.sh b/t/t5503-tagfollow.sh index 86e5b9bc26..f6828281bd 100755 --- a/t/t5503-tagfollow.sh +++ b/t/t5503-tagfollow.sh @@ -41,7 +41,12 @@ cat - <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 (