Skip to content

Commit

Permalink
t2019: skip test requiring '*' in a file name non Windows
Browse files Browse the repository at this point in the history
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 <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Johannes Sixt authored and Junio C Hamano committed Aug 11, 2015
1 parent ae454f6 commit b3325df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/t2019-checkout-ambiguous-ref.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 &&
Expand Down

0 comments on commit b3325df

Please sign in to comment.