summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-objcopy/ELF/remove-section.test
diff options
context:
space:
mode:
authorJordan Rupprecht <rupprecht@google.com>2019-01-11 18:06:31 +0000
committerJordan Rupprecht <rupprecht@google.com>2019-01-11 18:06:31 +0000
commit298ea3f5771d808929c9984ed73d196018f7a359 (patch)
tree86a7643b952e8c5a9c56cfc47946d3a34aca8dfe /llvm/test/tools/llvm-objcopy/ELF/remove-section.test
parent863f8c18b9272021d9fa37b3f5ff83debb0002a3 (diff)
downloadbcm5719-llvm-298ea3f5771d808929c9984ed73d196018f7a359.tar.gz
bcm5719-llvm-298ea3f5771d808929c9984ed73d196018f7a359.zip
[llvm-objcopy][NFC] Consistenly use two dashes for flags in tests.
Summary: As pointed out in D53667, our use of hyphens in flags can be inconsistent, mixing `-` with `--`. This change makes all long style flags use `--`. Automatically changed via: ``` find test/tools/llvm-objcopy/ELF -type f | xargs sed -i 's/ -\([a-zA-Z]\{3\}\)/ --\1/g' ``` Two false positives were manually fixed/reverted. Reviewers: jhenderson, espindola, alexshap Reviewed By: jhenderson Subscribers: emaste, javed.absar, arichardson, fedor.sergeev, jakehehrlich, llvm-commits Differential Revision: https://reviews.llvm.org/D56513 llvm-svn: 350944
Diffstat (limited to 'llvm/test/tools/llvm-objcopy/ELF/remove-section.test')
-rw-r--r--llvm/test/tools/llvm-objcopy/ELF/remove-section.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/tools/llvm-objcopy/ELF/remove-section.test b/llvm/test/tools/llvm-objcopy/ELF/remove-section.test
index f19e7b7684e..7bde47599e7 100644
--- a/llvm/test/tools/llvm-objcopy/ELF/remove-section.test
+++ b/llvm/test/tools/llvm-objcopy/ELF/remove-section.test
@@ -2,13 +2,13 @@
# RUN: cp %t %t1
# RUN: llvm-objcopy -R .test2 %t %t2
-# RUN: llvm-readobj -file-headers -sections %t2 | FileCheck %s
+# RUN: llvm-readobj --file-headers --sections %t2 | FileCheck %s
# Verify that the first run of llvm-objcopy
# has not modified the input binary.
# RUN: cmp %t %t1
-# RUN: llvm-objcopy -remove-section=.test2 %t1 %t3
+# RUN: llvm-objcopy --remove-section=.test2 %t1 %t3
# RUN: cmp %t2 %t3
!ELF
OpenPOWER on IntegriCloud