add 'a' to chmod in llvm-lipo executability tests
authorBob Haarman <llvm@inglorion.net>
Fri, 26 Jul 2019 18:44:06 +0000 (18:44 +0000)
committerBob Haarman <llvm@inglorion.net>
Fri, 26 Jul 2019 18:44:06 +0000 (18:44 +0000)
commit6baac18a760d10686361466f2b0027a5baf971af
treea8ea8a51aa114a8f07e94d3b0e73f0b00f4837fd
parent485b8789de8b327341072a2d0ef23709fb53a600
add 'a' to chmod in llvm-lipo executability tests

Summary:
When specifying symbolic permissions with + or -, if none of
a/u/g/o are specified, bits set in the umask are not affected.
This caused the llvm-lipo executability tests to fail on some
systems, e.g. having an umask of 027 would cause chmod -x to not
clear the executable bit for others. This change instead
uses chmod a-x, which clears all the executable bits regardless
of umask.

Reviewers: smeenai, hans, anushabasana

Reviewed By: smeenai

Subscribers: llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D65342

llvm-svn: 367142
llvm/test/tools/llvm-lipo/create-executable.test
llvm/test/tools/llvm-lipo/thin-executable-universal-binary.test