1# REQUIRES: lua 2# RUN: echo "int main() { return 0; }" | %clang_host -x c - -o %t 3# RUN: %lldb -s %s --script-language lua %t 2>&1 | FileCheck %s 4b main 5breakpoint command add -s lua -o 'return false' 6run 7# CHECK: Process {{[0-9]+}} exited with status = 0 8breakpoint command add -s lua -o 'print(bacon)' 9run 10# CHECK: bacon 11# CHECK: Process {{[0-9]+}} exited with status = 0 12breakpoint command add -s lua -o "return true" 13run 14# CHECK: Process {{[0-9]+}} stopped 15breakpoint command add -s lua -o 'error("my error message")' 16run 17# CHECK: my error message 18# CHECK: Process {{[0-9]+}} stopped 19