1*27ef81cdSJonas Devlieghere# This tests relative capture paths.
2*27ef81cdSJonas Devlieghere
3*27ef81cdSJonas Devlieghere# RUN: echo "CHECK: %t" > %t.check
4*27ef81cdSJonas Devlieghere
5*27ef81cdSJonas Devlieghere# RUN: rm -rf %t.repro
6*27ef81cdSJonas Devlieghere# RUN: mkdir -p %t.repro
7*27ef81cdSJonas Devlieghere# RUN: mkdir -p %t
8*27ef81cdSJonas Devlieghere# RUN: cd %t
9*27ef81cdSJonas Devlieghere# RUN: %clang %S/Inputs/simple.c -g -o %t/reproducer.out
10*27ef81cdSJonas Devlieghere# RUN: %lldb -x -b -s %S/Inputs/FileCapture.in --capture --capture-path %t.repro %t/reproducer.out
11*27ef81cdSJonas Devlieghere# RUN: cat %t.repro/cwd.txt | FileCheck %t.check
12