106a2beaeSJonas Devlieghere# XFAIL: system-windows 206a2beaeSJonas Devlieghere 3f80f15e3SJonas Devlieghere# This tests that the reproducer can deal with relative files. We create a 4f80f15e3SJonas Devlieghere# binary in a subdirectory and pass its relative path to LLDB. The subdirectory 5f80f15e3SJonas Devlieghere# is removed before replay so that it only exists in the reproducer's VFS. 627ef81cdSJonas Devlieghere 727ef81cdSJonas Devlieghere# RUN: echo "CHECK: %t" > %t.check 827ef81cdSJonas Devlieghere 927ef81cdSJonas Devlieghere# RUN: rm -rf %t.repro 1027ef81cdSJonas Devlieghere# RUN: mkdir -p %t.repro 1127ef81cdSJonas Devlieghere# RUN: mkdir -p %t 12f80f15e3SJonas Devlieghere# RUN: mkdir -p %t/binary 1327ef81cdSJonas Devlieghere# RUN: cd %t 14*9c739252SPavel Labath# RUN: %clang_host %S/Inputs/simple.c -g -o binary/reproducer.out 15f80f15e3SJonas Devlieghere# RUN: %lldb -x -b -s %S/Inputs/WorkingDir.in --capture --capture-path %t.repro binary/reproducer.out 16f80f15e3SJonas Devlieghere# RUN: rm -rf %t/binary 17f4f12012SJonas Devlieghere 1827ef81cdSJonas Devlieghere# RUN: cat %t.repro/cwd.txt | FileCheck %t.check 19f4f12012SJonas Devlieghere# RUN: %lldb --replay %t.repro | FileCheck %t.check 20