This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: misc/tst-ttyname time outs


* Carlos O'Donell:

> I think we can do just a bit better than just UNSUPPORTED.
>
> Let me be more specific with my suggestion.
>
> The test could print an informative message of the form:
>
> "info:  posix_openpt: Failed with errno %d. Consider increasing limits."

Yes, that's what I meant.

I don't think we should start printing sysctls and mount options here
(or systemd-nspawn arguments).

> I will note that we are inconsistent in our use of UNSUPPORTED for ENOSPC
> in that we often hard-fail the ENOSPC failures because we expect to have
> infinite disk space for testing.
>
> Perhaps just EMFILE and ENFILE should be handled as UNSUPPORTED?

This ENOSPC comes from the max= mount option on the devpts instance, I
think.  So it's different.

Thanks,
Florian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]