[lld] r359769 - [ELF] Delete a cant-write test from test/lto/thinlto-index-only.ll
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Thu May 2 02:29:24 PDT 2019
Author: maskray
Date: Thu May 2 02:29:24 2019
New Revision: 359769
URL: http://llvm.org/viewvc/llvm-project?rev=359769&view=rev
Log:
[ELF] Delete a cant-write test from test/lto/thinlto-index-only.ll
The test is performed by thinlto-cant-write-index.ll
Modified:
lld/trunk/test/ELF/lto/thinlto-index-only.ll
Modified: lld/trunk/test/ELF/lto/thinlto-index-only.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/lto/thinlto-index-only.ll?rev=359769&r1=359768&r2=359769&view=diff
==============================================================================
--- lld/trunk/test/ELF/lto/thinlto-index-only.ll (original)
+++ lld/trunk/test/ELF/lto/thinlto-index-only.ll Thu May 2 02:29:24 2019
@@ -38,16 +38,6 @@
; RUN: ls %t1.o.thinlto.bc
; RUN: ls %t1.o.imports
-; Ensure lld generates an error if unable to write an empty index file
-; for lazy object file that is not added to link.
-; RUN: rm -f %t1.o.thinlto.bc
-; RUN: touch %t1.o.thinlto.bc
-; RUN: chmod 400 %t1.o.thinlto.bc
-; RUN: not ld.lld --plugin-opt=thinlto-index-only -shared %t2.o --start-lib %t1.o --end-lib \
-; RUN: -o %t3 2>&1 | FileCheck %s
-; CHECK: cannot open {{.*}}1.o.thinlto.bc: {{P|p}}ermission denied
-; RUN: rm -f %t1.o.thinlto.bc
-
; NM: T f
; The backend index for this module contains summaries from itself and
More information about the llvm-commits
mailing list