X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Fregression%2Fust%2Fust-dl%2Ftest_ust-dl.py;h=9801012a7e83791ec9f3a85f6da401f54c91098d;hp=7117ca1b343ed8f9568c63f410defbe8d66e2616;hb=1f8f19a417b0b818b7edf566812acf7cf3d21f24;hpb=94382e15b98b3af4ba6810dca2c40a8133325364 diff --git a/tests/regression/ust/ust-dl/test_ust-dl.py b/tests/regression/ust/ust-dl/test_ust-dl.py index 7117ca1b3..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)