start_session(session_info)
malloc_process = subprocess.Popen(test_path + "prog", stdout=subprocess.PIPE, stderr=subprocess.PIPE)
start_session(session_info)
malloc_process = subprocess.Popen(test_path + "prog", stdout=subprocess.PIPE, stderr=subprocess.PIPE)
-print_test_result(free_event_found, current_test, "lttng_ust_libc:malloc event found in resulting trace")
+print_test_result(malloc_event_found, current_test, "lttng_ust_libc:malloc event found in resulting trace")
current_test += 1
print_test_result(free_event_found, current_test, "lttng_ust_libc:free event found in resulting trace")
current_test += 1
print_test_result(free_event_found, current_test, "lttng_ust_libc:free event found in resulting trace")