From a55f5a7b8c73cf4f70110ececcf56e5ebe84702c Mon Sep 17 00:00:00 2001 From: Johannes Sixt Date: Mon, 18 Aug 2008 08:59:08 +0200 Subject: [PATCH] MinGW: t3700: skip file-globbing test The test adds a file that has backslashes in the basename. This is not possible on Windows. Signed-off-by: Johannes Sixt --- t/t3700-add.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/t/t3700-add.sh b/t/t3700-add.sh index 22519dd101..93b9ac08ab 100755 --- a/t/t3700-add.sh +++ b/t/t3700-add.sh @@ -185,6 +185,7 @@ test_expect_success 'git add --refresh' ' if case $(uname -s) in *MINGW*) :;; *) false;; esac then say "chmod 0 does not make files unreadable - skipping tests" + say "cannot have backslashes in file names - skipping test" else test_expect_success 'git add should fail atomically upon an unreadable file' ' @@ -230,8 +231,6 @@ test_expect_success 'git add (add.ignore-errors = false)' ' ! ( git ls-files foo1 | grep foo1 ) ' -fi # skip chmod 0 tests - test_expect_success 'git add '\''fo\[ou\]bar'\'' ignores foobar' ' git reset --hard && touch fo\[ou\]bar foobar && @@ -240,4 +239,6 @@ test_expect_success 'git add '\''fo\[ou\]bar'\'' ignores foobar' ' ! ( git ls-files foobar | grep foobar ) ' +fi # skip chmod 0 and bslash-in-filename tests + test_done