about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2015-05-08 09:36:01 +0100
committerPeter Stephenson <pws@zsh.org>2015-05-08 09:36:01 +0100
commit39aeeedb19744bc5250def0404b1ceca1c3aed0f (patch)
tree01cfd9636776b97b855704fed0a4e7019e057d32
parent5acc89d51876d5f9f649a49956fe61f98498a015 (diff)
downloadzsh-39aeeedb19744bc5250def0404b1ceca1c3aed0f.tar.gz
zsh-39aeeedb19744bc5250def0404b1ceca1c3aed0f.tar.xz
zsh-39aeeedb19744bc5250def0404b1ceca1c3aed0f.zip
35056: turn off PROMPT_SP for interactive test
-rw-r--r--ChangeLog5
-rw-r--r--Test/A02alias.ztst12
2 files changed, 12 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 9110a7f33..fbc81258c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-05-08  Peter Stephenson  <p.stephenson@samsung.com>
+
+	* 35056: Test/A02alias.ztst: turn off PROMPT_SP for interactive
+	test.
+
 2015-05-08  Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
 
 	* 35057: Etc/FAQ.yo: make URL clickable (should have been
diff --git a/Test/A02alias.ztst b/Test/A02alias.ztst
index 08163eb52..cace2a40a 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