In this diff the elf-specific tests are moved into the subfolder llvm-objcopy/ELF (the change was discussed in the comments on https://reviews.llvm.org/D54674). A separate code reivew wasn't sent for this change since Phabricator is failing to create such a large diff. Test plan: make check-all make check-llvm-tools make check-llvm-tools-llvm-objcopy llvm-svn: 347958
19 lines
408 B
Plaintext
19 lines
408 B
Plaintext
# REQUIRES: system-windows
|
|
# RUN: yaml2obj %s > %t.o
|
|
# RUN: rm -f %t2.o
|
|
# RUN: cp %t.o %t2.o
|
|
# RUN: attrib +r %t2.o
|
|
|
|
# This fails because it cannot replace %t2.o
|
|
# RUN: not llvm-objcopy %t.o %t2.o
|
|
|
|
# But it doesn't leave any temporary files behind.
|
|
# RUN: not ls %t2.o.tmp*
|
|
|
|
!ELF
|
|
FileHeader:
|
|
Class: ELFCLASS64
|
|
Data: ELFDATA2LSB
|
|
Type: ET_REL
|
|
Machine: EM_X86_64
|