From: Johannes Sixt Date: Tue, 11 Aug 2015 20:38:46 +0000 (+0200) Subject: t2019: skip test requiring '*' in a file name non Windows X-Git-Tag: v2.6.0-rc0~50^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b3325dfc64017c7b8f982171a084d5d22aad8e14;p=thirdparty%2Fgit.git 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 Signed-off-by: Junio C Hamano --- diff --git a/t/t2019-checkout-ambiguous-ref.sh b/t/t2019-checkout-ambiguous-ref.sh index 8396320d52..199b22d85e 100755 --- a/t/t2019-checkout-ambiguous-ref.sh +++ b/t/t2019-checkout-ambiguous-ref.sh @@ -69,7 +69,7 @@ test_expect_success 'wildcard ambiguation, paths win' ' ) ' -test_expect_success 'wildcard ambiguation, refs lose' ' +test_expect_success !MINGW 'wildcard ambiguation, refs lose' ' git init ambi2 && ( cd ambi2 &&