diff options
author | Sami Kerola | 2014-05-11 21:26:38 +0200 |
---|---|---|
committer | Karel Zak | 2014-05-12 13:02:52 +0200 |
commit | 1e29f37dde7f15183837a1542958946f9716a1fc (patch) | |
tree | 0e34b71d861b16512d92530c65bcb087d1127d37 /bash-completion/Makemodule.am | |
parent | Merge branch 'tests-features' of https://github.com/rudimeier/util-linux (diff) | |
download | kernel-qcow2-util-linux-1e29f37dde7f15183837a1542958946f9716a1fc.tar.gz kernel-qcow2-util-linux-1e29f37dde7f15183837a1542958946f9716a1fc.tar.xz kernel-qcow2-util-linux-1e29f37dde7f15183837a1542958946f9716a1fc.zip |
tests: check /proc availability, and go-around if it is incomplete
Unavailability of /proc is fatal for kill, and continuing with the test
in that case does not make sense as it will only mean false positive
errors.
Where /proc/<pid>/status file(s) does not exist the check will perform
opportunistic sleep with assumption the test_sigreceive will be ready to
be killed if it has some time to init.
[kzak@redhat.com: - remove dependence on gawk, just use shell
- fix typo in "test /proc"]
CC: Ruediger Meier <sweet_f_a@gmx.de>
Reference: https://travis-ci.org/rudimeier/util-linux/jobs/24561058
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'bash-completion/Makemodule.am')
0 files changed, 0 insertions, 0 deletions