summary refs log tree commit diff
path: root/Test/E02xtrace.ztst
diff options
context:
space:
mode:
Diffstat (limited to 'Test/E02xtrace.ztst')
-rw-r--r--Test/E02xtrace.ztst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Test/E02xtrace.ztst b/Test/E02xtrace.ztst
index 05969b677..a0c2e9660 100644
--- a/Test/E02xtrace.ztst
+++ b/Test/E02xtrace.ztst
@@ -98,7 +98,8 @@
  :
  fn
  ' >fnfile
- $ZTST_testdir/../Src/zsh -fx ./fnfile
+ $ZTST_testdir/../Src/zsh -fx ./fnfile 2>errfile
+ grep '\./fnfile' errfile 1>&2
 0:Trace output with sourcefile and line number.
 >This is fn.
 ?+./fnfile:1> PS4='+%x:%I> '