Commit 7e6f3b76 authored by Axel Beckert's avatar Axel Beckert

Test updated patch by pws which unsetopts PROMPT_SP

parent ea25a69b
Description: Patch to check if test suite failures are prompt variables related
Author: Peter Stephenson <p.stephenson@samsung.com>
Bug: http://www.zsh.org/cgi-bin/mla/redirect?WORKERNUMBER=35042
Origin: http://www.zsh.org/cgi-bin/mla/redirect?WORKERNUMBER=35044
Origin: http://www.zsh.org/cgi-bin/mla/redirect?WORKERNUMBER=35056
Index: zsh/Test/A02alias.ztst
===================================================================
--- zsh.orig/Test/A02alias.ztst 2015-05-06 10:17:19.000000000 +0200
+++ zsh/Test/A02alias.ztst 2015-05-06 17:48:40.000000000 +0200
@@ -59,7 +59,7 @@
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
@@ -72,7 +72,7 @@
*>*5*{end
@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment