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

Tree @894e54f (Download .tar.gz)

binary-input-error.test @894e54fraw · 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'