public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/9] pull: kill tests
@ 2014-04-15 11:15 Sami Kerola
  2014-04-15 11:15 ` [PATCH 1/9] kill: make options --pid and --queue mutually exclusive Sami Kerola
                   ` (9 more replies)
  0 siblings, 10 replies; 18+ messages in thread
From: Sami Kerola @ 2014-04-15 11:15 UTC (permalink / raw)
  To: util-linux; +Cc: kerolasa

Here are the kill tests again.  Kudos to Bernhard whiping me to right
direction after first submission.  Changes since previous submission.

* in test scripts wait for test_sigreceiver is more pessimistic
* the test_sigreceiver tells to mother proces when it's ready be killed
  with a witness file
* in test scripts $(jobs -p) was changed to $!
* kill --verbose option is added
* lib/procutils got a fix


The following changes since commit b233dcb6ffa9a880882d58f85162ff97cede050f:

  libsmartcols: use buffer struct in table_print.c (2014-04-14 16:41:20 +0200)

are available in the git repository at:

  git://github.com/kerolasa/lelux-utiliteetit.git kill-tests-v2

for you to fetch changes up to 81143d7ad2bd5ac8fe86e0738f3e7a21e2c6f06c:

  lib/procutils: reset errno before strtol() call (2014-04-15 11:54:21 +0100)

----------------------------------------------------------------
Sami Kerola (9):
      kill: make options --pid and --queue mutually exclusive
      kill: remove unnecessary indirection
      tests: add signal receiver program
      tests: check kill is converting signals names correctly
      tests: check various ways to specify kill signal
      tests: check kill print pid option
      tests: check kill all user processes
      kill: add --verbose option to display what is killed
      lib/procutils: reset errno before strtol() call

 lib/procutils.c                    |   3 +-
 misc-utils/kill.c                  |  21 +++--
 tests/commands.sh                  |   3 +
 tests/expected/kill/all_processes  |   5 ++
 tests/expected/kill/name_to_number |   1 +
 tests/expected/kill/options        |   1 +
 tests/expected/kill/print_pid      |   1 +
 tests/helpers/Makemodule.am        |   3 +
 tests/helpers/test_sigreceive.c    | 153 +++++++++++++++++++++++++++++++++++++
 tests/ts/kill/all_processes        |  61 +++++++++++++++
 tests/ts/kill/name_to_number       |  64 ++++++++++++++++
 tests/ts/kill/options              |  66 ++++++++++++++++
 tests/ts/kill/print_pid            |  58 ++++++++++++++
 13 files changed, 434 insertions(+), 6 deletions(-)
 create mode 100644 tests/expected/kill/all_processes
 create mode 100644 tests/expected/kill/name_to_number
 create mode 100644 tests/expected/kill/options
 create mode 100644 tests/expected/kill/print_pid
 create mode 100644 tests/helpers/test_sigreceive.c
 create mode 100755 tests/ts/kill/all_processes
 create mode 100755 tests/ts/kill/name_to_number
 create mode 100755 tests/ts/kill/options
 create mode 100755 tests/ts/kill/print_pid

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2014-04-28 10:04 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-15 11:15 [PATCH 0/9] pull: kill tests Sami Kerola
2014-04-15 11:15 ` [PATCH 1/9] kill: make options --pid and --queue mutually exclusive Sami Kerola
2014-04-15 11:15 ` [PATCH 2/9] kill: remove unnecessary indirection Sami Kerola
2014-04-15 11:15 ` [PATCH 3/9] tests: add signal receiver program Sami Kerola
2014-04-15 12:20   ` Sami Kerola
2014-04-15 11:15 ` [PATCH 4/9] tests: check kill is converting signals names correctly Sami Kerola
2014-04-15 11:15 ` [PATCH 5/9] tests: check various ways to specify kill signal Sami Kerola
2014-04-15 11:15 ` [PATCH 6/9] tests: check kill print pid option Sami Kerola
2014-04-15 11:15 ` [PATCH 7/9] tests: check kill all user processes Sami Kerola
2014-04-16 10:13   ` Karel Zak
2014-04-20  9:53     ` Sami Kerola
2014-04-20 15:36       ` Bernhard Voelker
2014-04-22 10:09         ` Karel Zak
2014-04-22 20:55           ` Sami Kerola
2014-04-22 10:12       ` Karel Zak
2014-04-15 11:15 ` [PATCH 8/9] kill: add --verbose option to display what is killed Sami Kerola
2014-04-15 11:15 ` [PATCH 9/9] lib/procutils: reset errno before strtol() call Sami Kerola
2014-04-28 10:03 ` [PATCH 0/9] pull: kill tests Karel Zak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox