llvm-project/lldb/lit/Commands/command-regex-delete.test
Davide Italiano 6c27a06302 [testsuite] Convert a pexpect test to lit.
Summary:

Reviewers: JDevlieghere, friss, zturner, labath, jingham, serge-sans-paille

Subscribers: llvm-commits, lldb-commits

Tags: #llvm

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

llvm-svn: 353345
2019-02-06 21:48:01 +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 of 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