summaryrefslogtreecommitdiff
path: root/Test/V07pcre.ztst
diff options
context:
space:
mode:
Diffstat (limited to 'Test/V07pcre.ztst')
-rw-r--r--Test/V07pcre.ztst5
1 files changed, 2 insertions, 3 deletions
diff --git a/Test/V07pcre.ztst b/Test/V07pcre.ztst
index 9feeb47fb..ab67f3d80 100644
--- a/Test/V07pcre.ztst
+++ b/Test/V07pcre.ztst
@@ -1,11 +1,10 @@
%prep
- if ! zmodload -F zsh/pcre C:pcre-match 2>/dev/null
+ if grep '^name=zsh/pcre .* link=no ' $ZTST_testdir/../config.modules >/dev/null
then
- ZTST_unimplemented="the zsh/pcre module is not available"
+ ZTST_unimplemented="the zsh/pcre module was disabled by configure (see config.modules)"
return 0
fi
-# Load the rest of the builtins
zmodload zsh/pcre
setopt rematch_pcre
# Find a UTF-8 locale.