Force LD_BIND_NOW on all runtime invocation.
[deliverable/lttng-ivc.git] / lttng_ivc / tests / tools_liblttng-ctl_vs_sessiond / test_tools_liblttng-ctl_vs_sessiond.py
index 1259ec06ae73fbadfb4c8337973d17ede438ba2f..2776ff212bf4e68871c0d0ab9d00d4907e907b47 100644 (file)
@@ -81,7 +81,7 @@ def test_tools_liblttng_ctl_vs_sessiond_basic_listing(tmpdir, client_label, tool
 
         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"))
@@ -89,12 +89,12 @@ def test_tools_liblttng_ctl_vs_sessiond_basic_listing(tmpdir, client_label, tool
 
         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")
This page took 0.024818 seconds and 5 git commands to generate.