t2019: skip test requiring '*' in a file name non Windows

A test case introduced by ae454f61 (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 <j6t@kdbg.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Johannes Sixt committed Aug 11, 2015 at 22:38 UTC b3325dfc64017c7b8f982171a084d5d22aad8e14
1 file changed +1 -1
t/t2019-checkout-ambiguous-ref.sh
+1 -1
@@ -69,7 +69,7 @@ test_expect_success 'wildcard ambiguation, paths win' '
69 )
70 '
71
72 -test_expect_success 'wildcard ambiguation, refs lose' '
72 +test_expect_success !MINGW 'wildcard ambiguation, refs lose' '
73 git init ambi2 &&
74 (
75 cd ambi2 &&