about summary refs log tree commit diff
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
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.
-rw-r--r--ChangeLog8
-rw-r--r--Test/V07pcre.ztst2
2 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index af9bc04cd..440ef4684 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,11 @@
+2015-01-22  Barton E. Schaefer  <schaefer@zsh.org>
+
+	* 34338: Test/V07pcre.ztst: check feature availability
+
 2015-01-22  Marc Finet  <m.dreadlock@gmail.com>
 
-	* Functions/VCS_Info/VCS_INFO_quilt: PATCH: 34333: vcs_info quilt:
-	fix unapplied detection in subdir
+	* 34333: Functions/VCS_Info/VCS_INFO_quilt: fix unapplied
+	detection in subdir
 
 2015-01-22  Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
 
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