llvm-project/lldb/test/Shell/Subprocess/vfork-follow-child-wp.test
Michał Górny dd58083304 [lldb] [test] Remove parent output checks from follow-child tests
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.
2021-09-13 15:50:00 +02:00

13 lines
430 B
Plaintext

# REQUIRES: native && dbregs-set
# UNSUPPORTED: system-darwin
# UNSUPPORTED: system-windows
# RUN: %clangxx_host -g %p/Inputs/fork.cpp -DTEST_FORK=vfork -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
process launch -s
watchpoint set variable -w write g_val
# CHECK: Watchpoint created:
continue
# CHECK: function run in exec'd child