[PATCH] D64302: [test] [llvm-objcopy] Fix broken test case

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 7 20:30:42 PDT 2019


MaskRay added inline comments.


================
Comment at: llvm/test/tools/llvm-objcopy/ELF/respect-umask.test:27
+# RUN: llvm-objcopy %t %t2
+# RUN: ls -l %t2 | cut -f 1 -d ' ' > %t2.perms
+# RUN: cmp %t2.perms %t.0600
----------------
You can join the two lines:

`ls -l %t2 | cut -f 1 -d ' ' | cmp - %t.0600`


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D64302/new/

https://reviews.llvm.org/D64302





More information about the llvm-commits mailing list