Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Unreadable directories aren't included in glob expansion
Jun T wrote on Fri, 28 Feb 2020 15:37 +0900:
> > 2020/02/27 22:00, Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx> wrote:
> >
> > Jun. T wrote on Thu, 27 Feb 2020 00:51 +0900:
> >>
> >> I think just skipping this test on Cygwin is enough for now.
> >
> > I assume some day we'll fix the C code to make the test pass on other
> > platforms. When that happens, should the test then continue be skipped
> > on Cygwin? If not, I suggest adding a comment reminding to remove the
> > skip when the test starts to pass on other platforms.
>
> Sorry, I was not following this thread; what kind of "fix" do you
> have in mind?
I do not have a specific fix in mind. I just assumed that at some
indefinite point in the future we will change the C code in a way that
makes the test produce the expected output, and at the same time remove
the 'f' flag from the test.
> Anyway, the only thing I know is
> both access("d000/.", F_OK) and stat("d000/.", st)
> succeed on Cygwin. If the revised C code depends on the failure of
> either of these calls then the test need be skipped on Cygwin,
> I think.
Why would we need to skip the test on Cygwin after we fix it on other
platforms? The only reason the test fails on Cygwin is because it's
marked 'f' (= expected to fail) and _does_ produce the expected
output. Once we fix the C code so the test produces the expected
output, I think we'll be able to remove the 'f' flag _and_ the skip,
and then the test will be passing on all platforms, including Cygwin.
What am I missing?
Cheers,
Daniel
Messages sorted by:
Reverse Date,
Date,
Thread,
Author