From ce12868837f0140b95ac748f9c35047b4ea4277a Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Sun, 9 Aug 2015 21:51:33 +0200 Subject: unposted: add tests for outputting traps specified via aliases --- ChangeLog | 5 +++++ Test/C03traps.ztst | 11 +++++++++++ 2 files changed, 16 insertions(+) diff --git a/ChangeLog b/ChangeLog index d66451df1..4bb73515f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2015-08-09 Mikael Magnusson + + * unposted: Test/C03traps.ztst: add tests for outputting traps + specified with SIG prefix or numbers fixed by 36008. + 2015-08-09 Peter Stephenson * 26027: Src/builtin.c: fix retying variables in opposite diff --git a/Test/C03traps.ztst b/Test/C03traps.ztst index 4e2338825..d179dc46d 100644 --- a/Test/C03traps.ztst +++ b/Test/C03traps.ztst @@ -64,6 +64,17 @@ 0:EXIT traps on a script >Exited. + trap - + trap + trap int INT + trap sigterm SIGTERM + trap quit 3 + trap +0: Outputting traps correctly +>trap -- int INT +>trap -- quit QUIT +>trap -- sigterm TERM + fn1() { trap - trap -- cgit 1.4.1