Tests: Swap usages of pidof for pgrep --full
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 18 Sep 2015 16:59:20 +0000 (12:59 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 18 Sep 2015 16:59:20 +0000 (12:59 -0400)
commitdb7b260cfaefc5c9065650ac21bfe21c2e401192
tree9a1fc674e43fe8ca9ea72ff35c19ab79aa3ddf1f
parent91d98ef4e90718227d9af28627c838fc73bd1e3e
Tests: Swap usages of pidof for pgrep --full

Some implementations of pidof (such as the one from procps-ng)
seem immune to changing a process' name using prctl() and
overwriting argv[0]. Using preg --full works around this
problem.

In time, we should ensure every deamon publishes a PID file
which can be reliably used by the tests.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
tests/stress/test_multi_sessions_per_uid_10app
tests/stress/test_multi_sessions_per_uid_5app_streaming
tests/stress/test_multi_sessions_per_uid_5app_streaming_kill_relayd
tests/utils/utils.sh
This page took 0.025555 seconds and 4 git commands to generate.