@@ -3,8 +3,8 @@ test_description='test wildcards and literals with git add/commit (subshell styl
3
3
4
4
. ./test-lib.sh
5
5
6
- test_have_prereq FUNNYNAMES || {
7
- skip_all=' skipping: needs FUNNYNAMES (non-Windows only )'
6
+ test_have_prereq BSLASHPSPEC || {
7
+ skip_all=' skipping: needs BSLASHPSPEC (backslashes in pathspecs )'
8
8
test_done
9
9
}
10
10
@@ -184,7 +184,7 @@ test_expect_success 'add wildcard f?z' '
184
184
)
185
185
'
186
186
187
- test_expect_success ' add literal \? literal ' '
187
+ test_expect_success ' add literal \?' '
188
188
git init test-q-lit &&
189
189
(
190
190
cd test-q-lit &&
@@ -241,7 +241,7 @@ test_expect_success 'add literal hello\?world' '
241
241
)
242
242
'
243
243
244
- test_expect_success ' add literal [abc]' '
244
+ test_expect_success ' add literal \ [abc\ ]' '
245
245
git init test-brackets-lit &&
246
246
(
247
247
cd test-brackets-lit &&
@@ -280,7 +280,7 @@ test_expect_success 'commit: wildcard *' '
280
280
)
281
281
'
282
282
283
- test_expect_success ' commit: literal *' '
283
+ test_expect_success ' commit: literal \ *' '
284
284
git init test-c-asterisk-lit &&
285
285
(
286
286
cd test-c-asterisk-lit &&
@@ -328,7 +328,7 @@ test_expect_success 'commit: literal f\*' '
328
328
)
329
329
'
330
330
331
- test_expect_success ' commit: wildcard pathspec limits commit ' '
331
+ test_expect_success ' commit: wildcard f** ' '
332
332
git init test-c-pathlimit &&
333
333
(
334
334
cd test-c-pathlimit &&
0 commit comments