unposted: add tests for outputting traps specified via aliases

This commit is contained in:
Mikael Magnusson 2015-08-09 21:51:33 +02:00
parent 17d52d69ec
commit ce12868837
2 changed files with 16 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2015-08-09 Mikael Magnusson <mikachu@gmail.com>
* unposted: Test/C03traps.ztst: add tests for outputting traps
specified with SIG prefix or numbers fixed by 36008.
2015-08-09 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 26027: Src/builtin.c: fix retying variables in opposite

View File

@ -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