Ævar Arnfjörð Bjarmason  <ava...@gmail.com> writes:

> Skip the newly added file creation tests on Windows proper, these
> already work under Cygwin, but as that involves a significant
> emulation layer the results are different under Windows proper with
> MinGW.
> ...
> diff --git a/t/t3070-wildmatch.sh b/t/t3070-wildmatch.sh
> index f606f91acb..50a53e7a62 100755
> --- a/t/t3070-wildmatch.sh
> +++ b/t/t3070-wildmatch.sh
> @@ -7,6 +7,14 @@ test_description='wildmatch tests'
>  create_test_file() {
>       file=$1
>  
> +     # These tests limp along under Cygwin, but the failures on
> +     # native Windows are still too many. Skip file tests there
> +     # until they're sorted out.
> +     if test_have_prereq MINGW
> +     then
> +             return 1
> +     fi
> +

That looks to be a nuclear option.  For now it may be suffice, but
somehow it feels that it goes directly against Dscho's wish to treat
(or pretend to treat) Windows as first-class citizens and/or just
like other platforms.


Reply via email to