summaryrefslogtreecommitdiffstats
path: root/lldb/lit/tools/lldb-mi/exec
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/lit/tools/lldb-mi/exec')
-rw-r--r--lldb/lit/tools/lldb-mi/exec/exec-run-wrong-binary.test6
-rw-r--r--lldb/lit/tools/lldb-mi/exec/lit.local.cfg1
2 files changed, 7 insertions, 0 deletions
diff --git a/lldb/lit/tools/lldb-mi/exec/exec-run-wrong-binary.test b/lldb/lit/tools/lldb-mi/exec/exec-run-wrong-binary.test
new file mode 100644
index 00000000000..98dc75f509c
--- /dev/null
+++ b/lldb/lit/tools/lldb-mi/exec/exec-run-wrong-binary.test
@@ -0,0 +1,6 @@
+# RUN: %lldbmi < %s | FileCheck %s
+
+# Test that -exec-run command won't hang in case of wrong name of binary file.
+
+-file-exec-and-symbols name.exe
+# CHECK: ^error,msg="Command 'file-exec-and-symbols'. Target binary 'name.exe' is invalid.
diff --git a/lldb/lit/tools/lldb-mi/exec/lit.local.cfg b/lldb/lit/tools/lldb-mi/exec/lit.local.cfg
new file mode 100644
index 00000000000..df9b335dd13
--- /dev/null
+++ b/lldb/lit/tools/lldb-mi/exec/lit.local.cfg
@@ -0,0 +1 @@
+config.suffixes = ['.test']
OpenPOWER on IntegriCloud