[lit] Remove LitTestCase
[llvm-complete.git] / test / tools / llvm-objcopy / ELF / binary-input-with-arch.test
blobe8ae841e454596e9734bb745ed10dcfeb4669266
1 # RUN: echo -n abcd > %t.x-txt
2 # Preserve input to verify it is not modified.
3 # RUN: cp %t.x-txt %t-copy.txt
4 # RUN: llvm-objcopy -I binary -B i386 -O elf64-x86-64 %t.x-txt %t.o
5 # RUN: llvm-readobj --file-headers %t.o | FileCheck %s
6 # RUN: cmp %t.x-txt %t-copy.txt
8 # Many uses of objcopy use no spaces in the flags, make sure that also works.
9 # RUN: llvm-objcopy -Ibinary -Bi386 -Oelf64-x86-64 %t.x-txt %t-no-spaces.o
10 # RUN: cmp %t.o %t-no-spaces.o
12 # CHECK:      Format: ELF64-x86-64
13 # CHECK-NEXT: Arch: x86_64
14 # CHECK-NEXT: AddressSize: 64bit
16 # CHECK: Class: 64-bit
17 # CHECK: DataEncoding: LittleEndian
18 # CHECK: Machine: EM_X86_64
19 # CHECK: HeaderSize: 64
20 # CHECK: SectionHeaderEntrySize: 64