From: Jérémie Galarneau Date: Fri, 18 Sep 2015 16:59:20 +0000 (-0400) Subject: Tests: Swap usages of pidof for pgrep --full X-Git-Tag: v2.8.0-rc1~321 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=db7b260cfaefc5c9065650ac21bfe21c2e401192;hp=db7b260cfaefc5c9065650ac21bfe21c2e401192 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 ---