diff options
author | Johannes Sixt <j6t@kdbg.org> | 2015-08-11 22:38:46 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-08-11 15:17:30 -0700 |
commit | b3325dfc64017c7b8f982171a084d5d22aad8e14 (patch) | |
tree | 095df9f72addf1bacc76d4e672a5fe97592b5031 /t | |
parent | ae454f6125dd492c78eaf0b8709d4779bc0cbe7a (diff) | |
download | git-b3325dfc64017c7b8f982171a084d5d22aad8e14.tar.gz |
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>
Diffstat (limited to 't')
-rwxr-xr-x | t/t2019-checkout-ambiguous-ref.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 && |