llvm-project/lldb/test/Shell/Commands/command-regex-delete.test
Jonas Devlieghere 87aa9c9e4d Re-land "[test] Split LLDB tests into API, Shell & Unit"
The original patch got reverted because it broke `check-lldb` on a clean
build. This fixes that.

llvm-svn: 374201
2019-10-09 19:22:02 +00:00

15 lines
353 B
Plaintext

# Check basic functionality of command regex.
# RUN: %lldb -s %s 2>&1 | FileCheck %s
command regex 'Help__'
# CHECK: Enter one or more sed substitution commands in the form
# We need to leave a new line after to end the regex.
s/^$/help/
Help__
# CHECK: Debugger commands:
command delete Help__
Help__
# CHECK: error: 'Help__' is not a valid command