[ELF] - Testcases: remove "invalid-" prefix from inputs located in "invalid" subfolde...
authorGeorge Rimar <grimar@accesssoftek.com>
Thu, 29 Sep 2016 09:39:06 +0000 (09:39 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Thu, 29 Sep 2016 09:39:06 +0000 (09:39 +0000)
llvm-svn: 282707

12 files changed:
lld/test/ELF/invalid/Inputs/binding.elf [moved from lld/test/ELF/invalid/Inputs/invalid-binding.elf with 100% similarity]
lld/test/ELF/invalid/Inputs/cie-version2.elf [moved from lld/test/ELF/invalid/Inputs/invalid-cie-version2.elf with 100% similarity]
lld/test/ELF/invalid/Inputs/data-encoding.a [moved from lld/test/ELF/invalid/Inputs/invalid-data-encoding.a with 100% similarity]
lld/test/ELF/invalid/Inputs/file-class.a [moved from lld/test/ELF/invalid/Inputs/invalid-file-class.a with 100% similarity]
lld/test/ELF/invalid/Inputs/multiple-eh-relocs.elf [moved from lld/test/ELF/invalid/Inputs/invalid-multiple-eh-relocs.elf with 100% similarity]
lld/test/ELF/invalid/Inputs/section-index.elf [moved from lld/test/ELF/invalid/Inputs/invalid-section-index.elf with 100% similarity]
lld/test/ELF/invalid/Inputs/shentsize-zero.elf [moved from lld/test/ELF/invalid/Inputs/invalid-shentsize-zero.elf with 100% similarity]
lld/test/ELF/invalid/Inputs/shstrndx.so [moved from lld/test/ELF/invalid/Inputs/invalid-shstrndx.so with 100% similarity]
lld/test/ELF/invalid/Inputs/symtab-sh_info.elf [moved from lld/test/ELF/invalid/Inputs/invalid-symtab-sh_info.elf with 100% similarity]
lld/test/ELF/invalid/eh-frame-hdr-no-out.s
lld/test/ELF/invalid/invalid-elf.test
lld/test/ELF/invalid/merge-invalid-size.s

index edbafad..8379253 100644 (file)
@@ -1,6 +1,6 @@
 // REQUIRES: x86
-// RUN: not ld.lld --eh-frame-hdr %p/Inputs/invalid-cie-version2.elf -o %t >& %t.log
+// RUN: not ld.lld --eh-frame-hdr %p/Inputs/cie-version2.elf -o %t >& %t.log
 // RUN: FileCheck %s < %t.log
 
-// invalid-cie-version2.elf contains unsupported version of CIE = 2.
+// cie-version2.elf contains unsupported version of CIE = 2.
 // CHECK: FDE version 1 or 3 expected, but got 2
index 73516a4..350a420 100644 (file)
@@ -1,30 +1,30 @@
 # RUN: llvm-mc %s -o %t -filetype=obj -triple x86_64-pc-linux
 
-# RUN: not ld.lld %t %p/Inputs/invalid-data-encoding.a -o %t2 2>&1 | \
+# RUN: not ld.lld %t %p/Inputs/data-encoding.a -o %t2 2>&1 | \
 # RUN:   FileCheck --check-prefix=INVALID-DATA-ENC %s
 # INVALID-DATA-ENC: invalid data encoding: test.o
 
-# RUN: not ld.lld %t %p/Inputs/invalid-file-class.a -o %t2 2>&1 | \
+# RUN: not ld.lld %t %p/Inputs/file-class.a -o %t2 2>&1 | \
 # RUN:   FileCheck --check-prefix=INVALID-FILE-CLASS %s
 # INVALID-FILE-CLASS: invalid file class: test.o
 
-# RUN: not ld.lld %p/Inputs/invalid-symtab-sh_info.elf -o %t2 2>&1 | \
+# RUN: not ld.lld %p/Inputs/symtab-sh_info.elf -o %t2 2>&1 | \
 # RUN:   FileCheck --check-prefix=INVALID-SYMTAB-SHINFO %s
 # INVALID-SYMTAB-SHINFO: invalid sh_info in symbol table
 
-# RUN: not ld.lld %p/Inputs/invalid-binding.elf -o %t2 2>&1 | \
+# RUN: not ld.lld %p/Inputs/binding.elf -o %t2 2>&1 | \
 # RUN:   FileCheck --check-prefix=INVALID-BINDING %s
 # INVALID-BINDING: unexpected binding
 
-# RUN: not ld.lld %p/Inputs/invalid-section-index.elf -o %t2 2>&1 | \
+# RUN: not ld.lld %p/Inputs/section-index.elf -o %t2 2>&1 | \
 # RUN:   FileCheck --check-prefix=INVALID-SECTION-INDEX-LLD %s
 # INVALID-SECTION-INDEX-LLD: invalid section index
 
-# RUN: not ld.lld %p/Inputs/invalid-shstrndx.so -o %t2 2>&1 | \
+# RUN: not ld.lld %p/Inputs/shstrndx.so -o %t2 2>&1 | \
 # RUN:   FileCheck --check-prefix=INVALID-SECTION-INDEX %s
 # INVALID-SECTION-INDEX: Invalid section index
 
-# RUN: not ld.lld %p/Inputs/invalid-multiple-eh-relocs.elf -o %t2 2>&1 | \
+# RUN: not ld.lld %p/Inputs/multiple-eh-relocs.elf -o %t2 2>&1 | \
 # RUN:   FileCheck --check-prefix=INVALID-EH-RELOCS %s
 # INVALID-EH-RELOCS: multiple relocation sections to .eh_frame are not supported
 
index c27b21b..1dbd7cf 100644 (file)
@@ -4,7 +4,7 @@
 // CHECK: SHF_MERGE section size must be a multiple of sh_entsize
 
 // Test that we accept a zero sh_entsize.
-// RUN: ld.lld %p/Inputs/invalid-shentsize-zero.elf -o %t2
+// RUN: ld.lld %p/Inputs/shentsize-zero.elf -o %t2
 
 .section .foo,"aM",@progbits,4
 .short 42