diff options
author | Denys Vlasenko | 2020-10-24 04:26:43 +0200 |
---|---|---|
committer | Denys Vlasenko | 2020-10-24 04:26:43 +0200 |
commit | e16f7eb5967b9a960f4600c20690af63fb830b60 (patch) | |
tree | 3a07d75e1bb30874324816aa3ec1e7a6cfc898dc /shell/ash_test/ash-signals/usage.tests | |
parent | b65d6cb00fa0ea51bac4c4e62b576b43ae2c996b (diff) | |
download | busybox-e16f7eb5967b9a960f4600c20690af63fb830b60.zip busybox-e16f7eb5967b9a960f4600c20690af63fb830b60.tar.gz |
hush: output bash-compat killing signal names
This significantly syncronises ash-signals and hush-signals tests.
function old new delta
process_wait_result 449 450 +1
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/ash_test/ash-signals/usage.tests')
-rwxr-xr-x | shell/ash_test/ash-signals/usage.tests | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/shell/ash_test/ash-signals/usage.tests b/shell/ash_test/ash-signals/usage.tests new file mode 100755 index 0000000..d29c6e7 --- /dev/null +++ b/shell/ash_test/ash-signals/usage.tests @@ -0,0 +1,23 @@ +# no output -- default state +echo ___ +trap + +# assign some traps +echo ___ +trap "a" EXIT INT USR1 USR2 + +# show them all +echo ___ +trap + +# clear one +echo ___ +trap 0 INT +echo ___ +trap + +# clear another +echo ___ +trap "-" USR1 +echo ___ +trap |