]> granicus.if.org Git - llvm/commit
[test] [llvm-objcopy] Fix broken test case
authorAlex Brachet <alexbrachetmialot@gmail.com>
Fri, 19 Jul 2019 02:31:21 +0000 (02:31 +0000)
committerAlex Brachet <alexbrachetmialot@gmail.com>
Fri, 19 Jul 2019 02:31:21 +0000 (02:31 +0000)
commitc1a4a73e9819fc74ec020bc766a3ae268972e437
tree27f7e8e8707deebc91198698b420d22801c86e4c
parent3f2801ce4ee838293624bf8946e4e7d0d1851cdd
[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/trunk@366527 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-objcopy/ELF/respect-umask.test