Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Test suite failures with 5.0.7-dev-2



On Wed, 6 May 2015 08:59:43 +0200
Axel Beckert <abe@xxxxxxxxxxxxxxx> wrote:
> Running test: Aliasing reserved tokens
> Pattern match failed:
> <begin
> <end
> <*4*{ begin
> <*5*{end
> >[1m[7m%[27m[1m[0m 
>..
> This looks to me like failing due to additional ANSI escape sequences
> in the output. (Currently no time for further investigations, sorry.
> Maybe this evening.)

Yes; does the following help?

pws

diff --git a/Test/A02alias.ztst b/Test/A02alias.ztst
index 08163eb..332e4e8 100644
--- a/Test/A02alias.ztst
+++ b/Test/A02alias.ztst
@@ -59,7 +59,7 @@
 >And aliases are expanded
 
   $ZTST_testdir/../Src/zsh -fis <<<'
-  PROMPT=""
+  PROMPT="" PS2="" PS3="" PS4="" RPS1="" RPS2=""
   exec 2>&1
   alias \{=echo
   { begin
@@ -72,7 +72,7 @@
 *>*5*{end
 
   $ZTST_testdir/../Src/zsh -fis <<<'
-  PROMPT=""
+  PROMPT="" PS2="" PS3="" PS4="" RPS1="" RPS2=""
   exec 2>&1
   alias -g S=\"
   echo S a string S "



Messages sorted by: Reverse Date, Date, Thread, Author