1# REQUIRES: system-darwin 2 3# This tests the replaying of GDB remote packets. 4# 5# We issue the same commands and ensure the output is identical to the original 6# process. To ensure we're not actually running the original binary we check 7# that the string "testing" is not printed. 8 9# RUN: rm -rf %t.repro 10# RUN: %clang_host %S/Inputs/simple.c -g -o %t.out 11# RUN: %lldb -x -b -s %S/Inputs/FileCapture.in --capture --capture-path %t.repro %t.out | FileCheck %s --check-prefix CHECK --check-prefix CAPTURE 12# RUN: rm %t.out 13 14# CAPTURE: testing 15 16# CHECK: Process {{.*}} exited 17 18# CAPTURE: Reproducer is in capture mode. 19# CAPTURE: Reproducer written 20