diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2000-06-14 15:37:54 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2000-06-14 15:37:54 +0000 |
commit | 05c34efa3ca9c5f91ba3cea951e6def722deb00d (patch) | |
tree | 53d7a80020cdc5095ce59a7fb9ae7b2ad17328e6 /Test/08traps.ztst | |
parent | 4611530c455e66de32bb28e3588924efc88608ce (diff) | |
download | zsh-05c34efa3ca9c5f91ba3cea951e6def722deb00d.tar.gz zsh-05c34efa3ca9c5f91ba3cea951e6def722deb00d.tar.xz zsh-05c34efa3ca9c5f91ba3cea951e6def722deb00d.zip |
11902: SIGWINCH local trap test
Diffstat (limited to 'Test/08traps.ztst')
-rw-r--r-- | Test/08traps.ztst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Test/08traps.ztst b/Test/08traps.ztst index 641a50ad2..f898a379e 100644 --- a/Test/08traps.ztst +++ b/Test/08traps.ztst @@ -175,3 +175,12 @@ >testunset >f >ERR-or! + + f() { + setopt localtraps + TRAPWINCH() { print "Window changed. That wrecked the test."; } + } + f + f + functions TRAPWINCH +1:Unsetting ordinary traps with localtraps. |