Files
clang-p2996/lldb/lit/tools/lldb-mi/exec/exec-run-wrong-binary.test
Alexander Polyakov cc92f5038e [lldb, lldm-mi] Fix hanging of -exec-run command.
Summary: -exec-run command hanged in case of invalid or dummy target.

Reviewers: aprantl, stella.stamenova

Reviewed By: aprantl

Subscribers: ki.stfu, llvm-commits, lldb-commits

Differential Revision: https://reviews.llvm.org/D47678

llvm-svn: 333844
2018-06-03 15:15:23 +00:00

7 lines
239 B
Plaintext

# 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.