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