tests: skip detach tests if kill does not work

* tests/detach-running.test: Skip if "kill -0" does not work.
* tests/detach-sleeping.test: Likewise.
* tests/detach-stopped.test: Likewise.
This commit is contained in:
Дмитрий Левин 2015-01-14 08:08:56 +00:00
parent 03b4454129
commit 74697bd29b
3 changed files with 9 additions and 0 deletions

View File

@ -4,6 +4,9 @@
. "${srcdir=.}/init.sh"
kill -0 $$ ||
framework_skip_ 'kill -0 does not work'
check_prog grep
check_prog sleep

View File

@ -4,6 +4,9 @@
. "${srcdir=.}/init.sh"
kill -0 $$ ||
framework_skip_ 'kill -0 does not work'
check_prog grep
check_prog sleep

View File

@ -4,6 +4,9 @@
. "${srcdir=.}/init.sh"
kill -0 $$ ||
framework_skip_ 'kill -0 does not work'
check_prog grep
check_prog sleep