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)
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>

No differences found
This page took 0.024291 seconds and 4 git commands to generate.