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

Re: Test suite failures with 5.0.7-dev-2



On Thu, 7 May 2015 15:32:27 +0200
Axel Beckert <abe@xxxxxxxxxxxxxxx> wrote:
> An inverse percent sign sounds like an command output which didn't end
> in a newline... Hrm.

PWS [smacks forehead making the following sound]:  Ahhhhhrmgrggh.

That suggests something got a bit split up in some unhelpful way, so I'm
not sure if the following is going to be good enough, but try it anyway.

pws

diff --git a/Test/A02alias.ztst b/Test/A02alias.ztst
index 08163eb..cace2a4 100644
--- a/Test/A02alias.ztst
+++ b/Test/A02alias.ztst
@@ -59,7 +59,8 @@
 >And aliases are expanded
 
   $ZTST_testdir/../Src/zsh -fis <<<'
-  PROMPT=""
+  unsetopt PROMPT_SP
+  PROMPT="" PS2="" PS3="" PS4="" RPS1="" RPS2=""
   exec 2>&1
   alias \{=echo
   { begin
@@ -68,16 +69,17 @@
 0:Aliasing reserved tokens
 >begin
 >end
-*>*4*{ begin
-*>*5*{end
+*>*5*{ begin
+*>*6*{end
 
   $ZTST_testdir/../Src/zsh -fis <<<'
-  PROMPT=""
+  unsetopt PROMPT_SP
+  PROMPT="" PS2="" PS3="" PS4="" RPS1="" RPS2=""
   exec 2>&1
   alias -g S=\"
   echo S a string S "
   fc -l -1' 2>/dev/null
 0:Global aliasing quotes
 > a string S 
-*>*4*echo S a string S "
+*>*5*echo S a string S "
 # Note there is a trailing space on the "> a string S " line



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