1*87aa9c9eSJonas Devlieghere# Test that LLDB correctly allows scripted commands to set immediate output to 2*87aa9c9eSJonas Devlieghere# the console. 3*87aa9c9eSJonas Devlieghere 4*87aa9c9eSJonas Devlieghere# RUN: %lldb -s %s \ 5*87aa9c9eSJonas Devlieghere# RUN: -o 'command script import %S/Inputs/custom_command.py' \ 6*87aa9c9eSJonas Devlieghere# RUN: -o 'command script add -f custom_command.command_function mycommand' \ 7*87aa9c9eSJonas Devlieghere# RUN: -o 'mycommand' \ 8*87aa9c9eSJonas Devlieghere# RUN: -o 'command script delete mycommand' \ 9*87aa9c9eSJonas Devlieghere# RUN: 2>&1 | FileCheck %s 10*87aa9c9eSJonas Devlieghere 11*87aa9c9eSJonas Devlieghere# CHECK: this is a test string, just a test string 12