1# REQUIRES: system-darwin
2
3# This tests the reproducer version check.
4
5# RUN: rm -rf %t.repro
6# RUN: %clang_host %S/Inputs/simple.c -g -o %t.out
7# RUN: %lldb -x -b -s %S/Inputs/FileCapture.in --capture --capture-path %t.repro %t.out | FileCheck %s --check-prefix CHECK --check-prefix CAPTURE
8
9# Change the reproducer version.
10# RUN: echo "bogus" >> %t.repro/version.txt
11
12# CAPTURE: testing
13
14# CHECK: Process {{.*}} exited
15
16# CAPTURE: Reproducer is in capture mode.
17# CAPTURE: Reproducer written
18