summaryrefslogtreecommitdiffstats
path: root/tests/ts/kill/options
Commit message (Collapse)AuthorAgeFilesLines
* tests: (kill) do not use shell build-inKarel Zak2019-03-041-0/+5
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add kill --queue checkSami Kerola2014-07-151-2/+0Star
| | | | | | | | | | | | Correction. The final failure to catch signal exit should not use exiter() function. --->8---- From: Sami Kerola <kerolasa@iki.fi> Date: Mon, 14 Jul 2014 18:35:56 +0100 Subject: [PATCH] tests: add kill --queue check Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* kill: use --queue option argument as sigval integer valueSami Kerola2014-07-141-2/+2
| | | | | | | | | | | | | 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>
* tests: fix kill problemsRuediger Meier2014-05-061-3/+3
| | | | | | | | | | | | | There were several failures (missing tmp files, missing pids) on travis build farm which I couldn't track down completely. Here we fix some possible issues: - mktemp -u is unsafe, maybe even in practice if there is a bad random generator - make sure that mktemp does not give us pure integer filnames which would not work for "kill by-name" - avoid using trap, could be that it removed tmp files on wrong signals Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* tests: add kill_functions.sh to avoid duplicate codeKarel Zak2014-04-281-17/+5Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: check various ways to specify kill signalSami Kerola2014-04-261-0/+77
CC: Bernhard Voelker <mail@bernhard-voelker.de> Signed-off-by: Sami Kerola <kerolasa@iki.fi>