summaryrefslogtreecommitdiffstats
path: root/lldb/test/Shell/Reproducer/TestRelativePath.test
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/Shell/Reproducer/TestRelativePath.test')
-rw-r--r--lldb/test/Shell/Reproducer/TestRelativePath.test8
1 files changed, 8 insertions, 0 deletions
diff --git a/lldb/test/Shell/Reproducer/TestRelativePath.test b/lldb/test/Shell/Reproducer/TestRelativePath.test
new file mode 100644
index 00000000000..1c871ee81e8
--- /dev/null
+++ b/lldb/test/Shell/Reproducer/TestRelativePath.test
@@ -0,0 +1,8 @@
+# This tests relative capture paths.
+
+# RUN: mkdir -p %t
+# RUN: cd %t
+# RUN: rm -rf ./foo
+# RUN: %clang %S/Inputs/simple.c -g -o %t/reproducer.out
+# RUN: %lldb -x -b -s %S/Inputs/FileCapture.in -o 'reproducer dump -p files' --capture --capture-path ./foo %t/reproducer.out
+# RUN: %lldb --replay ./foo
OpenPOWER on IntegriCloud