llvm.org GIT mirror llvm / release_80 test / tools / llvm-objcopy / ELF / binary-input-error.test
release_80

Tree @release_80 (Download .tar.gz)

binary-input-error.test @release_80raw · history · blame

# 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'.