summaryrefslogtreecommitdiff
path: root/test/Shell/Reproducer/TestWorkingDir.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/Shell/Reproducer/TestWorkingDir.test')
-rw-r--r--test/Shell/Reproducer/TestWorkingDir.test11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/Shell/Reproducer/TestWorkingDir.test b/test/Shell/Reproducer/TestWorkingDir.test
new file mode 100644
index 000000000..eb0af843d
--- /dev/null
+++ b/test/Shell/Reproducer/TestWorkingDir.test
@@ -0,0 +1,11 @@
+# This tests relative capture paths.
+
+# RUN: echo "CHECK: %t" > %t.check
+
+# RUN: rm -rf %t.repro
+# RUN: mkdir -p %t.repro
+# RUN: mkdir -p %t
+# RUN: cd %t
+# RUN: %clang %S/Inputs/simple.c -g -o %t/reproducer.out
+# RUN: %lldb -x -b -s %S/Inputs/FileCapture.in --capture --capture-path %t.repro %t/reproducer.out
+# RUN: cat %t.repro/cwd.txt | FileCheck %t.check