Test/V07pcre.ztst

Bart Schaefer <[email protected]> Mon, 6 Jul 2026 12:44:56 -0700
Newsgroups gmane.comp.shells.zsh.devel
Message-ID <CAH+w=7ZvbEeOqE2-3OwE2iW4g0uesmYe5e4H1frBGCH8eLgA1g@mail.gmail.com>
This test uses

if ! zmodload zsh/pcre
...

to decide whether to run the test.  I just encountered a case where
the zmodload succeeded in loading zsh/pcre from an older installed
version of zsh, so the test executed but failed, even though
--enable-pcre was not configured.

I'm not sure how that happened because ztst.zsh should be resetting
module_path and I'm not getting other failures on module tests?