xref: /llvm-project/lldb/test/Shell/Commands/command-script-add.test (revision 9c5877f33d9f7fd317c07920fd24a041ad69077a)
1# Test that command script add with no arguments prompts for
2# and generates the modern (exe_ctx) version of the command.
3
4# RUN: %lldb < %s | FileCheck %s
5command script add doit
6print(exe_ctx.target)
7DONE
8doit
9# CHECK: No value
10