llvm/llvm/test/tools/llvm-reduce/command-line-behavior.test

# Print the help output if no arguments are specified
# RUN: llvm-reduce --help | grep "LLVM automatic testcase reducer"
# RUN: llvm-reduce | grep "LLVM automatic testcase reducer"

# Don't require any other arguments for --print-delta-passes
# RUN: llvm-reduce --print-delta-passes | grep "Delta passes"

# Missing test input
# RUN: not llvm-reduce --test FileCheck 2>&1 | grep "error: reduction testcase positional argument must be specified"

# Missing test script
# RUN: not llvm-reduce some-input 2>&1 | grep "error: --test option must be specified"