Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
850 B
Plaintext
Raw Permalink Normal View History

2019-01-29 20:36:38 +00:00
# REQUIRES: system-darwin
# This tests the replaying of GDB remote packets.
#
# We issue the same commands and ensure the output is identical to the original
# process. To ensure we're not actually running the original binary we check
# that the string "testing" is not printed.
# RUN: rm -rf %t.repro
# RUN: %clang_host %S/Inputs/simple.c -g -o %t.out
# RUN: %lldb -x -b -s %S/Inputs/FileCapture.in --capture --capture-path %t.repro %t.out | FileCheck %s --check-prefix CHECK --check-prefix CAPTURE
2019-01-29 20:36:38 +00:00
# RUN: rm %t.out
2019-03-06 01:49:57 +00:00
# RUN: %lldb --replay %t.repro | FileCheck %s --check-prefix CHECK --check-prefix REPLAY
# RUN: cat %t.repro/version.txt | FileCheck %s --check-prefix VERSION
2019-01-29 20:36:38 +00:00
# CAPTURE: testing
# REPLAY-NOT: testing
# CHECK: Process {{.*}} exited
# CAPTURE: Reproducer is in capture mode.
# CAPTURE: Reproducer written
# VERSION: lldb version