forked from OSchip/llvm-project
Fix resolution-err.ll
chmod tries to be very helpful on some platforms and prevent naive mistakes, by warning the user. This results in the following error during the test: ```chmod: ...resolution-err.ll.tmp.resolution.txt: new permissions are r--rw-rw-, not r--r--r--``` To fix the test, call chmod with u. Differential Revision: https://reviews.llvm.org/D100417
This commit is contained in:
parent
69545154cc
commit
bcef28621a
|
@ -2,7 +2,7 @@
|
|||
; REQUIRES: shell
|
||||
; RUN: llvm-as %s -o %t.bc
|
||||
; RUN: touch %t.resolution.txt
|
||||
; RUN: chmod -w %t.resolution.txt
|
||||
; RUN: chmod u-w %t.resolution.txt
|
||||
; RUN: not ld.lld -save-temps %t.bc -o %t 2>&1 | FileCheck -DMSG=%errc_EACCES %s
|
||||
; RUN: rm -f %t.resolution.txt
|
||||
|
||||
|
|
Loading…
Reference in New Issue