Files
clang-p2996/lldb/test/Shell/Subprocess/fork-follow-child.test
2021-09-03 09:07:53 +02:00

11 lines
318 B
Plaintext

# REQUIRES: native
# UNSUPPORTED: system-darwin
# UNSUPPORTED: system-windows
# RUN: %clangxx_host %p/Inputs/fork.cpp -DTEST_FORK=fork -o %t
# RUN: %lldb -b -s %s %t | FileCheck %s
settings set target.process.follow-fork-mode child
b parent_func
process launch
# CHECK: function run in parent
# CHECK: child exited: 0