diff options
Diffstat (limited to 'Test')
-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. |