From f3ffa502270e78a3ceac5d249a5569052d0f5624 Mon Sep 17 00:00:00 2001 From: Steffen Prohaska Date: Sun, 13 Apr 2008 11:52:29 +0200 Subject: [PATCH] t7201: Mark tests as broken on MinGW MinGW's path conversion mangles ":/". This breakages is marked expected. Unfortunately, the heuristic in msys_p2w() does not allow for a workaround. Signed-off-by: Steffen Prohaska --- t/t7201-co.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/t/t7201-co.sh b/t/t7201-co.sh index 3111baa9e3..5dd79bd018 100755 --- a/t/t7201-co.sh +++ b/t/t7201-co.sh @@ -207,7 +207,11 @@ test_expect_success 'checkout to detach HEAD with branchname^' ' fi ' -test_expect_success 'checkout to detach HEAD with :/message' ' +case $(uname -s) in +*MINGW*) test_expect=test_expect_failure;; +*) test_expect=test_expect_success;; +esac +$test_expect 'checkout to detach HEAD with :/message' ' git checkout -f master && git clean -f && git checkout ":/Initial" &&