about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-06-11 09:27:55 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-06-11 09:27:55 +0000
commitc17b4c8d77c7a2ec52168f471a262023ed2e437d (patch)
treec4646cacf8a87629798f44bea29749bb0d042651 /Test
parent4814830da2babe3f919d3c0331014c60b7a8ce07 (diff)
downloadzsh-c17b4c8d77c7a2ec52168f471a262023ed2e437d.tar.gz
zsh-c17b4c8d77c7a2ec52168f471a262023ed2e437d.tar.xz
zsh-c17b4c8d77c7a2ec52168f471a262023ed2e437d.zip
25145: make sure XTRACE output is redirected with stderr
Diffstat (limited to 'Test')
-rw-r--r--Test/E02xtrace.ztst16
1 files changed, 8 insertions, 8 deletions
diff --git a/Test/E02xtrace.ztst b/Test/E02xtrace.ztst
index 9b38227ff..1375daa67 100644
--- a/Test/E02xtrace.ztst
+++ b/Test/E02xtrace.ztst
@@ -55,16 +55,21 @@
 >Tracing: function 2>file
 >Tracing: source
 >Tracing: source 2>file
+>+(eval):3> print 'Tracing: builtin 2>file'
+>+(eval):5> cat
 >+(eval):7> print 'Tracing: ( builtin ) 2>file'
 >+(eval):9> cat
 >+(eval):11> print 'Tracing: { builtin } 2>file'
 >+(eval):13> cat
 >+(eval):15> print 'Tracing: do builtin done 2>file'
 >+(eval):17> cat
+>+(eval):19> xtf 'Tracing: function 2>file'
+>+xtf:1> local regression_test_dummy_variable
+>+xtf:2> print 'Tracing: function 2>file'
+>+(eval):21> . ./xt.in 'Tracing: source 2>file'
+>+./xt.in:1> print 'Tracing: source 2>file'
 ?+(eval):2> print 'Tracing: builtin'
-?+(eval):3> print 'Tracing: builtin 2>file'
 ?+(eval):4> cat
-?+(eval):5> cat
 ?+(eval):6> print 'Tracing: ( builtin )'
 ?+(eval):8> cat
 ?+(eval):10> print 'Tracing: { builtin }'
@@ -74,18 +79,13 @@
 ?+(eval):18> xtf 'Tracing: function'
 ?+xtf:1> local regression_test_dummy_variable
 ?+xtf:2> print 'Tracing: function'
-?+(eval):19> xtf 'Tracing: function 2>file'
-?+xtf:1> local regression_test_dummy_variable
-?+xtf:2> print 'Tracing: function 2>file'
 ?+(eval):20> . ./xt.in 'Tracing: source'
 ?+./xt.in:1> print 'Tracing: source'
-?+(eval):21> . ./xt.in 'Tracing: source 2>file'
-?+./xt.in:1> print 'Tracing: source 2>file'
 ?+(eval):22> set +x
 
  typeset -ft xtf
  xtf 'Tracing: function'
-0:
+0:tracing function
 >Tracing: function
 ?+xtf:1> local regression_test_dummy_variable
 ?+xtf:2> print 'Tracing: function'