diff options
author | Mikael Magnusson <mikachu@gmail.com> | 2015-08-09 21:51:33 +0200 |
---|---|---|
committer | Mikael Magnusson <mikachu@gmail.com> | 2015-08-09 21:53:05 +0200 |
commit | ce12868837f0140b95ac748f9c35047b4ea4277a (patch) | |
tree | 115b5beb8be0776de7b330ef53d5b9ea8f56e089 /Test | |
parent | 17d52d69ec696ee2cda77f1e6112d7d74a9e33a5 (diff) | |
download | zsh-ce12868837f0140b95ac748f9c35047b4ea4277a.tar.gz zsh-ce12868837f0140b95ac748f9c35047b4ea4277a.tar.xz zsh-ce12868837f0140b95ac748f9c35047b4ea4277a.zip |
unposted: add tests for outputting traps specified via aliases
Diffstat (limited to 'Test')
-rw-r--r-- | Test/C03traps.ztst | 11 |
1 files changed, 11 insertions, 0 deletions
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 |