
Remove the parent output checks, as they make the test flaky while serving no real purpose. If the parent crashed/hanged, it will never resume the child and the test would fail anyway.
15 lines
427 B
Plaintext
15 lines
427 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
|
|
settings set target.process.stop-on-exec false
|
|
b child_func
|
|
b parent_func
|
|
process launch
|
|
# CHECK: stop reason = breakpoint
|
|
# CHECK-NEXT: child_func
|
|
continue
|
|
# CHECK: function run in exec'd child
|