Fix: tests: don't match command line arguments, match static build binary names
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 12 May 2016 20:08:45 +0000 (16:08 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sat, 14 May 2016 20:33:01 +0000 (16:33 -0400)
commit1efc9d34c710b1dc334ef310c75bcd3d6943ec81
treea035b2359ae907b3052c59aa37f27030bb748e6d
parent53b00091d773d915a2ee1771fe2b1adbb5af880d
Fix: tests: don't match command line arguments, match static build binary names

Don't match command line arguments for lttng-sessiond, lttng-relayd,
lttng-consumerd, lttng-runas, lt-lttng-sessiond, lt-lttng-relayd, only
match the executables.

Otherwise, if any unrelated command on the system match those as
arguments (e.g. text editor opening a text file), it hangs the tests.

Static build don't generate a lt-lttng-sessiond as binary name. Expect
lttng-session for this case.

Static build don't generate a lt-lttng-relayd as binary name.  Expect
lttng-relayd for this case.

Fixes: #977
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
tests/utils/utils.sh
This page took 0.0254490000000001 seconds and 4 git commands to generate.