Files
clang-p2996/lldb/lit/Commands/command-backtrace.test
Stella Stamenova 5bac706343 [CommandInterpreter] Fix trailing blanks after all or [0-9]+ for bt
The change that was committed for this used \\s to match spaces which does not work correctly on all platforms. Using [:space:] makes the test pass on both Linux and Windows

llvm-svn: 361064
2019-05-17 18:52:42 +00:00

13 lines
459 B
Plaintext

# Check basic functionality of command bt.
# RUN: %lldb -s %s 2>&1 | FileCheck %s
# Make sure this is not rejected by the parser as invalid syntax.
# Blank characters after the '1' are important, as we're testing the parser.
bt 1
# CHECK: error: invalid target
# Make sure this is not rejected by the parser as invalid syntax.
# Blank characters after the 'all' are important, as we're testing the parser.
bt all
# CHECK: error: invalid target