Skip to content

Commit b3325df

Browse files
j6tgitster
authored andcommitted
t2019: skip test requiring '*' in a file name non Windows
A test case introduced by ae454f6 (Add tests for wildcard "path vs ref" disambiguation) allocates a file named '*.c'. This does not work on Windows, because the OS forbids file names containing wildcard characters. The test case fails where the shell attempts to allocate the file. Skip the test on Windows. Signed-off-by: Johannes Sixt <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent ae454f6 commit b3325df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t2019-checkout-ambiguous-ref.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ test_expect_success 'wildcard ambiguation, paths win' '
6969
)
7070
'
7171

72-
test_expect_success 'wildcard ambiguation, refs lose' '
72+
test_expect_success !MINGW 'wildcard ambiguation, refs lose' '
7373
git init ambi2 &&
7474
(
7575
cd ambi2 &&

0 commit comments

Comments
 (0)