about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorBarton E. Schaefer <schaefer@zsh.org>2015-01-22 09:30:38 -0800
committerBarton E. Schaefer <schaefer@zsh.org>2015-01-22 09:33:29 -0800
commitcc52a51eae3a6e8b6853bb319924df7736a59489 (patch)
tree70c8d2920bb04ec0c03e86d8ccfad101ab9b7ce3 /Test
parent9ea817acdafc2f9c0377bb30d7931916bcd8bc6a (diff)
downloadzsh-cc52a51eae3a6e8b6853bb319924df7736a59489.tar.gz
zsh-cc52a51eae3a6e8b6853bb319924df7736a59489.tar.xz
zsh-cc52a51eae3a6e8b6853bb319924df7736a59489.zip
34338: check pcre-match feature availability
It is possible for the module to be linked/loadable but have no features.
Diffstat (limited to 'Test')
-rw-r--r--Test/V07pcre.ztst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Test/V07pcre.ztst b/Test/V07pcre.ztst
index 3a65331b3..3c25be2f9 100644
--- a/Test/V07pcre.ztst
+++ b/Test/V07pcre.ztst
@@ -1,6 +1,6 @@
 %prep
 
-  if ! zmodload zsh/pcre 2>/dev/null
+  if ! zmodload -F zsh/pcre C:pcre-match 2>/dev/null
   then
     ZTST_unimplemented="the zsh/pcre module is not available"
     return 0