summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-objcopy/ELF/binary-input-error.test
blob: 4b7736e190056443f69cc19a68bbe7b1bcc8611b (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