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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| llvm/test/tools/llvm-objcopy/ELF/respect-umask.test | ||
|---|---|---|
| 34 | You can join the two lines: ls -l %t2 | cut -f 1 -d ' ' | cmp - %t.0600 | |