summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorArun Chandrasekaran <aruncxy@gmail.com>2020-04-24 19:22:47 +1000
committerCraig Small <csmall@dropbear.xyz>2020-05-11 17:36:12 +1000
commitcd7ea2abf34963909716b905bc32623e3ffa303f (patch)
tree56fadaa0317d72a6b4da5669b115272a303605dd /testsuite
parent557fda8f980c9b12bcdad995077d774fb6b17cb1 (diff)
downloadprocps-ng-cd7ea2abf34963909716b905bc32623e3ffa303f.tar.gz
kill: use sigqueue to pass value with the signal.
New -q/--queue option for kill so it will send an integer to the signalled process. See sigqueue(3) for details. References: https://pubs.opengroup.org/onlinepubs/009695399/functions/sigqueue.html procps-ng/procps!32 Signed-off-by: Craig Small <csmall@dropbear.xyz>
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/kill.test/kill.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/kill.test/kill.exp b/testsuite/kill.test/kill.exp
index 2032e0e..5aa7b2c 100644
--- a/testsuite/kill.test/kill.exp
+++ b/testsuite/kill.test/kill.exp
@@ -10,7 +10,7 @@ if { ![ file exists $kill ] } {
set test "kill with no arguments"
spawn $kill
-expect_pass "$test" "Usage:\\s+\(lt-\)?kill \\\[options\\\] <pid> \\\[...\\\]\\s+Options:\\s+<pid> \\\[...\\\]\\s+send signal to every <pid> listed\\s+-<signal>, -s, --signal <signal>\\s+specify the <signal> to be sent\\s+-l, --list=\\\[<signal>\\\]\\s+list all signal names, or convert one to a name\\\s+-L, --table\\s+list all signal names in a nice table$usage_help$usage_version$usage_man"
+expect_pass "$test" "Usage:\\s+\(lt-\)?kill \\\[options\\\] <pid>"
set test "kill list signal names"
spawn $kill -l