Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
start_session(session_info)
fork_process = subprocess.Popen([test_path + "fork", test_path + "fork2"], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
start_session(session_info)
fork_process = subprocess.Popen([test_path + "fork", test_path + "fork2"], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
parent_pid = -1
child_pid = -1
for line in fork_process.stdout:
parent_pid = -1
child_pid = -1
for line in fork_process.stdout:
if match:
parent_pid = match.group(1)
if match:
parent_pid = match.group(1)
print_test_result(fork_process.returncode == 0, current_test, "Fork test application exited normally")
current_test += 1
print_test_result(fork_process.returncode == 0, current_test, "Fork test application exited normally")
current_test += 1