summaryrefslogtreecommitdiffstats
path: root/lldb/test/Shell/Reproducer/TestWorkingDir.test
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/Shell/Reproducer/TestWorkingDir.test')
-rw-r--r--lldb/test/Shell/Reproducer/TestWorkingDir.test11
1 files changed, 11 insertions, 0 deletions
diff --git a/lldb/test/Shell/Reproducer/TestWorkingDir.test b/lldb/test/Shell/Reproducer/TestWorkingDir.test
new file mode 100644
index 00000000000..eb0af843dfb
--- /dev/null
+++ b/lldb/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
OpenPOWER on IntegriCloud