Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: zpty-related testsuite failures if building in a chroot on a host running systemd 220 as init system



On Sat, 13 Jun 2015 12:48:58 +0200
Axel Beckert <abe@xxxxxxxxxxxxxxx> wrote:
> The only thing which is IMHO left on the zsh side is why the testsuite
> fails (instead of e.g. skipping the according tests) if /dev/pts/ptmx
> is missing. Is this on purpose? Or just never occurred before? (Mostly
> curious. :-)

Sounds like you've got to the bottom of this, which is good.

The current problem hasn't occurred before, I don't think, but yes, this
is how it's designed to work --- at least if HAVE_POSIX_OPENPT is
defined, which presumably it is.  In that case zsh is checking for the
API and expects it to work if present.

I guess it would be possible to have a "broken posxix_openpt" test ---
we've done such things before.  But surely if it's possible for the
system to fix posix_openpt, which must be how it's intended to work,
we shouldn't need to test...?

pws



Messages sorted by: Reverse Date, Date, Thread, Author