mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-09-28 15:01:21 +02:00
unposted: add tests for outputting traps specified via aliases
This commit is contained in:
parent
17d52d69ec
commit
ce12868837
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user