[PATCH] D41097: [ELF] Only check user permissions in the file access test
Petr Hosek via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 11 15:49:48 PST 2017
phosek created this revision.
Herald added a subscriber: emaste.
The group and other bits may differ across systems.
Repository:
rLLD LLVM Linker
https://reviews.llvm.org/D41097
Files:
test/ELF/file-access.s
Index: test/ELF/file-access.s
===================================================================
--- test/ELF/file-access.s
+++ test/ELF/file-access.s
@@ -3,13 +3,13 @@
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
# RUN: ld.lld -r %t.o -o %t1.o
# RUN: stat -c %%A %t1.o | FileCheck --check-prefix=CHECK-RELOC %s
-# CHECK-RELOC: -rw-r--r--
+# CHECK-RELOC: -rw-
# RUN: ld.lld -shared %t.o -o %t2.so
# RUN: stat -c %%A %t2.so | FileCheck --check-prefix=CHECK-SHARED %s
-# CHECK-SHARED: -rwxr-xr-x
+# CHECK-SHARED: -rwx
# RUN: ld.lld %t.o -o %t3
# RUN: stat -c %%A %t3 | FileCheck --check-prefix=CHECK-EXEC %s
-# CHECK-EXEC: -rwxr-xr-x
+# CHECK-EXEC: -rwx
.global _start
_start:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41097.126464.patch
Type: text/x-patch
Size: 711 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171211/deea673d/attachment.bin>
More information about the llvm-commits
mailing list