summaryrefslogtreecommitdiffstats
path: root/Test/V07pcre.ztst
diff options
context:
space:
mode:
authorPhil Pennock <pdpennock@users.sourceforge.net>2011-10-26 23:28:26 +0000
committerPhil Pennock <pdpennock@users.sourceforge.net>2011-10-26 23:28:26 +0000
commitfe15a9e2bbf5b87962c0e4b2246e39f293ccf593 (patch)
tree91a8a5b17c25719a636041505effdbfa70d02e18 /Test/V07pcre.ztst
parent29844, 29845: remove bogus (diff)
downloadzsh-fe15a9e2bbf5b87962c0e4b2246e39f293ccf593.tar
zsh-fe15a9e2bbf5b87962c0e4b2246e39f293ccf593.tar.gz
zsh-fe15a9e2bbf5b87962c0e4b2246e39f293ccf593.tar.bz2
zsh-fe15a9e2bbf5b87962c0e4b2246e39f293ccf593.tar.lz
zsh-fe15a9e2bbf5b87962c0e4b2246e39f293ccf593.tar.xz
zsh-fe15a9e2bbf5b87962c0e4b2246e39f293ccf593.tar.zst
zsh-fe15a9e2bbf5b87962c0e4b2246e39f293ccf593.zip
29867: pcre/ZTST_unimplemented change from Bart
Diffstat (limited to 'Test/V07pcre.ztst')
-rw-r--r--Test/V07pcre.ztst6
1 files changed, 5 insertions, 1 deletions
diff --git a/Test/V07pcre.ztst b/Test/V07pcre.ztst
index 4dd173557..f5b05deaa 100644
--- a/Test/V07pcre.ztst
+++ b/Test/V07pcre.ztst
@@ -1,6 +1,10 @@
%prep
- zmodload zsh/pcre
+ if ! zmodload zsh/pcre 2>/dev/null
+ then
+ ZTST_unimplemented="the zsh/pcre module is not available"
+ return 0
+ fi
setopt rematch_pcre
# Find a UTF-8 locale.
setopt multibyte