summaryrefslogtreecommitdiff
path: root/t/t2019-checkout-ambiguous-ref.sh
diff options
context:
space:
mode:
authorLibravatar Johannes Sixt <j6t@kdbg.org>2015-08-11 22:38:46 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-08-11 15:17:30 -0700
commitb3325dfc64017c7b8f982171a084d5d22aad8e14 (patch)
tree095df9f72addf1bacc76d4e672a5fe97592b5031 /t/t2019-checkout-ambiguous-ref.sh
parentAdd tests for wildcard "path vs ref" disambiguation (diff)
downloadtgif-b3325dfc64017c7b8f982171a084d5d22aad8e14.tar.xz
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/t2019-checkout-ambiguous-ref.sh')
-rwxr-xr-xt/t2019-checkout-ambiguous-ref.sh2
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 &&