From cc52a51eae3a6e8b6853bb319924df7736a59489 Mon Sep 17 00:00:00 2001 From: "Barton E. Schaefer" Date: Thu, 22 Jan 2015 09:30:38 -0800 Subject: 34338: check pcre-match feature availability It is possible for the module to be linked/loadable but have no features. --- Test/V07pcre.ztst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Test') 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 -- cgit 1.4.1