diff options
Diffstat (limited to 'Test')
-rw-r--r-- | Test/E02xtrace.ztst | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Test/E02xtrace.ztst b/Test/E02xtrace.ztst index 31d7fd422..05969b677 100644 --- a/Test/E02xtrace.ztst +++ b/Test/E02xtrace.ztst @@ -90,3 +90,18 @@ >Tracing: function ?+xtf:1> local regression_test_dummy_variable ?+xtf:2> print 'Tracing: function' + + echo 'PS4="+%x:%I> " + fn() { + print This is fn. + } + : + fn + ' >fnfile + $ZTST_testdir/../Src/zsh -fx ./fnfile +0:Trace output with sourcefile and line number. +>This is fn. +?+./fnfile:1> PS4='+%x:%I> ' +?+./fnfile:5> : +?+./fnfile:6> fn +?+./fnfile:3> print This is fn. |