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 <johannes.sixt@telecom.at>
This commit is contained in:
Johannes Sixt
2008-08-18 08:59:08 +02:00
parent 7eff787e8a
commit a55f5a7b8c

View File

@@ -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