X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Fregression%2Fust%2Flibc-wrapper%2Ftest_libc-wrapper.py;fp=tests%2Fregression%2Fust%2Flibc-wrapper%2Ftest_libc-wrapper.py;h=545d5662f3030ef64d2e7880f984c6f855a55328;hp=8f3222cc31c601e447d8db62f4a79c90f70f3f77;hb=b6e2447a0a8d7fcd62c9c592082f5543eb10ade4;hpb=2f16a8f9f5b5b37e103ba68c07f14c5beb8464e7 diff --git a/tests/regression/ust/libc-wrapper/test_libc-wrapper.py b/tests/regression/ust/libc-wrapper/test_libc-wrapper.py index 8f3222cc3..545d5662f 100644 --- a/tests/regression/ust/libc-wrapper/test_libc-wrapper.py +++ b/tests/regression/ust/libc-wrapper/test_libc-wrapper.py @@ -43,14 +43,7 @@ enable_ust_tracepoint_event(session_info, "lttng_ust_libc*") start_session(session_info) malloc_process = subprocess.Popen(test_path + "prog", stdout=subprocess.PIPE, stderr=subprocess.PIPE) -if sys.version_info >= (3, 3): - try: - malloc_process.wait(5) - except subprocess.TimeoutExpired: - malloc_process.kill() - bail("Failed to run libustinstr-malloc test application.", session_info) -else: - malloc_process.wait() +malloc_process.wait() print_test_result(malloc_process.returncode == 0, current_test, "Test application exited normally") current_test += 1