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 21:12:25 +0000 (17:12 -0400)
commitf8a2c2043e635574de8f6787054aaf1bb4390f04
treee9c21665c1b3e3569d0e9eb8fd63a9258ed7c013
parent49d2db9777da9bba6e59cc1edc150c9abcf619e1
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.0252019999999999 seconds and 4 git commands to generate.