X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Fregression%2Fust%2Fust-dl%2Ftest_ust-dl.py;fp=tests%2Fregression%2Fust%2Fust-dl%2Ftest_ust-dl.py;h=04903af260d02417a4814f1d964f807a966dbfb3;hp=96509c7cf798aeb15836d43ce9ce7b618a9f3aca;hb=c125de8f5c0dc9ba3ada63e9317e468ffb9e335a;hpb=53f8be7a05e14be1d0bebc8575d0e5ce394111b2 diff --git a/tests/regression/ust/ust-dl/test_ust-dl.py b/tests/regression/ust/ust-dl/test_ust-dl.py index 96509c7cf..04903af26 100644 --- a/tests/regression/ust/ust-dl/test_ust-dl.py +++ b/tests/regression/ust/ust-dl/test_ust-dl.py @@ -52,9 +52,9 @@ stop_session(session_info) # Check for dl events in the resulting trace try: - babeltrace_process = subprocess.Popen(["babeltrace", session_info.trace_path], stdout=subprocess.PIPE, stderr=subprocess.PIPE) + babeltrace_process = subprocess.Popen([BABELTRACE_BIN, session_info.trace_path], stdout=subprocess.PIPE, stderr=subprocess.PIPE) except FileNotFoundError: - bail("Could not open babeltrace. Please make sure it is installed.", session_info) + bail("Could not open {}. Please make sure it is installed.".format(BABELTRACE_BIN), session_info) dlopen_event_found = 0 dlmopen_event_found = 0