blob: 820e569ad7b46ae2fce9af5a25bb0c1d84026e04 [file] [log] [blame]
Jordan Rupprechtcf676332018-08-17 18:51:11 +00001# RUN: echo abcd > %t.txt
2
3# RUN: not llvm-objcopy -I binary %t.txt %t.o 2>&1 \
4# RUN: | FileCheck %s --check-prefix=MISSING-BINARY-ARCH
5
6# RUN: not llvm-objcopy -I binary -B xyz %t.txt %t.o 2>&1 \
7# RUN: | FileCheck %s --check-prefix=BAD-BINARY-ARCH
8
9# MISSING-BINARY-ARCH: Specified binary input without specifiying an architecture.
10# BAD-BINARY-ARCH: Invalid architecture: 'xyz'.