mirror of
https://github.com/git/git.git
synced 2026-03-13 10:23:30 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user