summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-objcopy/ELF/binary-input-error.test
blob: 820e569ad7b46ae2fce9af5a25bb0c1d84026e04 (plain)
1
2
3
4
5
6
7
8
9
10
# RUN: echo abcd > %t.txt

# RUN: not llvm-objcopy -I binary %t.txt %t.o 2>&1 \
# RUN:   | FileCheck %s --check-prefix=MISSING-BINARY-ARCH

# RUN: not llvm-objcopy -I binary -B xyz %t.txt %t.o 2>&1 \
# RUN:   | FileCheck %s --check-prefix=BAD-BINARY-ARCH

# MISSING-BINARY-ARCH: Specified binary input without specifiying an architecture.
# BAD-BINARY-ARCH: Invalid architecture: 'xyz'.
OpenPOWER on IntegriCloud