diff options
author | Sami Kerola | 2014-07-09 22:49:03 +0200 |
---|---|---|
committer | Karel Zak | 2014-07-14 15:49:35 +0200 |
commit | a3443c3067027e0155a8135d13a6205528b48cd5 (patch) | |
tree | 8746ba7833e9dc9c45b803084d31e872d48b9a85 /tests/ts/kill | |
parent | build-sys: improve the informative message when not building some util (diff) | |
download | kernel-qcow2-util-linux-a3443c3067027e0155a8135d13a6205528b48cd5.tar.gz kernel-qcow2-util-linux-a3443c3067027e0155a8135d13a6205528b48cd5.tar.xz kernel-qcow2-util-linux-a3443c3067027e0155a8135d13a6205528b48cd5.zip |
kill: use --queue option argument as sigval integer value
The sigqueue(3) takes two values, signal and sigval. Contents of the
signal can be altered with --signal option argument, so the --queue
argument should be reserved to affect sigval_int.
This is regression fix introduced by commit
9e8dffd5cd29f03029b1ac99eecb129532ca5c0f.
Reference: http://man7.org/linux/man-pages/man3/sigqueue.3.html
Reported-by: Benno Schulenberg <bensberg@justemail.net>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'tests/ts/kill')
-rwxr-xr-x | tests/ts/kill/options | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ts/kill/options b/tests/ts/kill/options index 6cdaa24d4..5af78d969 100755 --- a/tests/ts/kill/options +++ b/tests/ts/kill/options @@ -51,8 +51,8 @@ try_option -s 1 try_option --signal 1 try_option --signal HUP try_option --signal SIGHUP -try_option -q HUP -try_option --queue HUP +try_option -s 1 -q 42 +try_option -s 1 --queue 42 try_option -1 try_option -HUP try_option -SIGHUP |