summaryrefslogtreecommitdiffstats
path: root/Test/A05execution.ztst
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-08-07 16:25:14 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-08-07 16:25:14 +0000
commit2706eac45492b0fcdfc3cf104ac947e65d09ee25 (patch)
treeff7f6e2a05231a8444589e54c95313114ebcae07 /Test/A05execution.ztst
parent25409: fix eval's use of lastval (diff)
downloadzsh-2706eac45492b0fcdfc3cf104ac947e65d09ee25.tar
zsh-2706eac45492b0fcdfc3cf104ac947e65d09ee25.tar.gz
zsh-2706eac45492b0fcdfc3cf104ac947e65d09ee25.tar.bz2
zsh-2706eac45492b0fcdfc3cf104ac947e65d09ee25.tar.lz
zsh-2706eac45492b0fcdfc3cf104ac947e65d09ee25.tar.xz
zsh-2706eac45492b0fcdfc3cf104ac947e65d09ee25.tar.zst
zsh-2706eac45492b0fcdfc3cf104ac947e65d09ee25.zip
25415: Make DEBUG_BEFORE_CMD the default.
Reuse ERR_EXIT in DEBUG traps. Clean up trapreturn code.
Diffstat (limited to 'Test/A05execution.ztst')
-rw-r--r--Test/A05execution.ztst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Test/A05execution.ztst b/Test/A05execution.ztst
index e731d1109..8dee85c28 100644
--- a/Test/A05execution.ztst
+++ b/Test/A05execution.ztst
@@ -124,6 +124,7 @@
0:TRAPEXIT
>Exit
+ unsetopt DEBUG_BEFORE_CMD
unfunction fn
print 'TRAPDEBUG() {
print Line $LINENO
@@ -138,6 +139,7 @@
>Line 1
>Line 1
+ unsetopt DEBUG_BEFORE_CMD
unfunction fn
print 'trap '\''print Line $LINENO'\'' DEBUG
: