1 # RUN: llvm-objcopy -h | FileCheck --check-prefix=OBJCOPY-USAGE %s
2 # RUN: llvm-objcopy --help | FileCheck --check-prefix=OBJCOPY-USAGE %s
3 # RUN: not llvm-objcopy 2>&1 | FileCheck --check-prefix=OBJCOPY-USAGE %s
4 # RUN: not llvm-objcopy -abcabc 2>&1 | FileCheck --check-prefix=UNKNOWN-ARG %s
5 # RUN: not llvm-objcopy --abcabc 2>&1 | FileCheck --check-prefix=UNKNOWN-ARG %s
6 # RUN: not llvm-objcopy --strip-debug 2>&1 | FileCheck %s --check-prefix=NO-INPUT-FILES
8 # RUN: llvm-strip -h | FileCheck --check-prefix=STRIP-USAGE %s
9 # RUN: llvm-strip --help | FileCheck --check-prefix=STRIP-USAGE %s
10 # RUN: not llvm-strip 2>&1 | FileCheck --check-prefix=STRIP-USAGE %s
11 # RUN: not llvm-strip -abcabc 2>&1 | FileCheck --check-prefix=UNKNOWN-ARG %s
12 # RUN: not llvm-strip --abcabc 2>&1 | FileCheck --check-prefix=UNKNOWN-ARG %s
13 # RUN: not llvm-strip --strip-debug 2>&1 | FileCheck %s --check-prefix=NO-INPUT-FILES
16 # OBJCOPY-USAGE: USAGE: llvm-objcopy
17 # OBJCOPY-USAGE: @FILE
19 # STRIP-USAGE: USAGE: llvm-strip
22 # UNKNOWN-ARG: unknown argument '{{-+}}abcabc'
23 # NO-INPUT-FILES: no input file specified