command-backtrace.test 459 Bytes
# 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