about summary refs log tree commit diff
path: root/Test/E01options.ztst
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-08-11 08:40:56 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-08-11 08:40:56 +0000
commit20c2246d683e8891560df5ebc466507d9e3002c3 (patch)
tree509a4cefe042ba8bed768f78f369b14dc3113d3a /Test/E01options.ztst
parentfd487a01ce7d7a8bf11405bdbd16a4d917ee3175 (diff)
downloadzsh-20c2246d683e8891560df5ebc466507d9e3002c3.tar.gz
zsh-20c2246d683e8891560df5ebc466507d9e3002c3.tar.xz
zsh-20c2246d683e8891560df5ebc466507d9e3002c3.zip
25429: Rocky Bernstein: dont assume PS4 is set to the default
Diffstat (limited to 'Test/E01options.ztst')
-rw-r--r--Test/E01options.ztst5
1 files changed, 3 insertions, 2 deletions
diff --git a/Test/E01options.ztst b/Test/E01options.ztst
index 66bfa1955..410944643 100644
--- a/Test/E01options.ztst
+++ b/Test/E01options.ztst
@@ -1034,6 +1034,7 @@
 # This really just tests if XTRACE is egregiously broken.
 # To test it properly would need a full set of its own.
   fn() { print message; }
+  PS4='+%N:%i> '
   setopt xtrace
   fn
   unsetopt xtrace
@@ -1041,6 +1042,6 @@
 0:XTRACE option
 >message
 >message
-?+(eval):3> fn
+?+(eval):4> fn
 ?+fn:0> print message
-?+(eval):4> unsetopt xtrace
+?+(eval):5> unsetopt xtrace