From 05c34efa3ca9c5f91ba3cea951e6def722deb00d Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Wed, 14 Jun 2000 15:37:54 +0000 Subject: 11902: SIGWINCH local trap test --- Test/08traps.ztst | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Test') 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. -- cgit 1.4.1