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