sessiond = utils.sessiond_spawn(runtime_tools)
- cp, out, err = runtime_tools.run('{} create trace'.format(lttng_client), check_return=False)
+ cp, out, err = runtime_tools.run('{} create trace'.format(lttng_client), check_return=False, ld_debug=True)
if outcome == "Missing symbol":
assert(cp.returncode != 0)
assert(utils.file_contains(err, "Missing symbol"))
assert(cp.returncode == 0)
- runtime_tools.run('lttng enable-event -u tp:tptest')
- runtime_tools.run('lttng start')
+ runtime_tools.run('{} enable-event -u tp:tptest'.format(lttng_client))
+ runtime_tools.run('{} start'.format(lttng_client))
# Stop tracing
- runtime_tools.run('lttng stop')
- runtime_tools.run('lttng destroy -a')
+ runtime_tools.run('{} stop'.format(lttng_client))
+ runtime_tools.run('{} destroy -a'.format(lttng_client))
cp = runtime_tools.subprocess_terminate(sessiond)
if cp.returncode != 0:
pytest.fail("Sessiond return code")