OSDN Git Service

Merging r366527:
authorHans Wennborg <hans@hanshq.net>
Mon, 22 Jul 2019 22:33:29 +0000 (22:33 +0000)
committerHans Wennborg <hans@hanshq.net>
Mon, 22 Jul 2019 22:33:29 +0000 (22:33 +0000)
commit0df17fcc4a9ebf7bd048d045d52dfdedb89fc747
treec68248b7c894a57b1b2fa4357ba1ccfa37eb7c63
parent2fe566c8532660f4c56c24fbbba491f960b622bd
Merging r366527:
------------------------------------------------------------------------
r366527 | abrachet | 2019-07-19 04:31:21 +0200 (Fri, 19 Jul 2019) | 13 lines

[test] [llvm-objcopy] Fix broken test case

Summary: The test case added in D62718 did not work unless the user was root because write bits were not set for the output file. This change uses only permissions with user write (0200) to ensure tests pass regardless of the users permissions.

Reviewers: jhenderson, rupprecht, MaskRay, espindola, alexshap

Reviewed By: MaskRay

Subscribers: emaste, arichardson, jakehehrlich, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D64302
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_90@366758 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-objcopy/ELF/respect-umask.test