mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-01 05:16:05 +01:00
29867: pcre/ZTST_unimplemented change from Bart
This commit is contained in:
parent
faa02346a8
commit
fe15a9e2bb
2 changed files with 12 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2011-10-26 Phil Pennock <pdpennock@users.sourceforge.net>
|
||||
|
||||
* 29867: Bart Schaefer: Test/V07pcre.ztst: exit early with
|
||||
unimplemented status if zsh/pcre not available; combined with
|
||||
Peter's 29865 fix, should make PCRE testing robust.
|
||||
|
||||
2011-10-26 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
||||
|
||||
* 29844, 29845: Src/exec.c, Test/A04redirect.ztst: remove bogus
|
||||
|
@ -15511,5 +15517,5 @@
|
|||
|
||||
*****************************************************
|
||||
* This is used by the shell to define $ZSH_PATCHLEVEL
|
||||
* $Revision: 1.5487 $
|
||||
* $Revision: 1.5488 $
|
||||
*****************************************************
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue