X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Fregression%2Fust%2Fust-dl%2Ftest_ust-dl.py;h=9801012a7e83791ec9f3a85f6da401f54c91098d;hb=cdbfb1b9cd74b6f6da7082482b1d6c3d97605818;hp=dc7327017f6f8d6ddf179ad337b1ef2f6b8f79b0;hpb=65385a822c061a32c9059caac52f1a69bd06795b;p=lttng-tools.git diff --git a/tests/regression/ust/ust-dl/test_ust-dl.py b/tests/regression/ust/ust-dl/test_ust-dl.py index dc7327017..9801012a7 100644 --- a/tests/regression/ust/ust-dl/test_ust-dl.py +++ b/tests/regression/ust/ust-dl/test_ust-dl.py @@ -46,8 +46,8 @@ enable_ust_tracepoint_event(session_info, "*") start_session(session_info) test_env = os.environ.copy() -test_env["LD_PRELOAD"] = "liblttng-ust-dl.so" -test_env["LD_LIBRARY_PATH"] = test_path +test_env["LD_PRELOAD"] = test_env.get("LD_PRELOAD", "") + ":liblttng-ust-dl.so" +test_env["LD_LIBRARY_PATH"] = test_env.get("LD_LIBRARY_PATH", "") + ":" + test_path test_process = subprocess.Popen(test_path + "prog", stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=test_env)