summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-objcopy/ELF/binary-input.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/binary-input.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/binary-input.test')
-rw-r--r--llvm/test/tools/llvm-objcopy/ELF/binary-input.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/tools/llvm-objcopy/ELF/binary-input.test b/llvm/test/tools/llvm-objcopy/ELF/binary-input.test
index 3e9b1bad112..d7a708dcea5 100644
--- a/llvm/test/tools/llvm-objcopy/ELF/binary-input.test
+++ b/llvm/test/tools/llvm-objcopy/ELF/binary-input.test
@@ -2,7 +2,7 @@
# Preserve input to verify it is not modified
# RUN: cp %t.x-txt %t-copy.txt
# RUN: llvm-objcopy -I binary -B i386:x86-64 %t.x-txt %t.o
-# RUN: llvm-readobj -sections -symbols %t.o | FileCheck %s
+# RUN: llvm-readobj --sections --symbols %t.o | FileCheck %s
# RUN: cmp %t.x-txt %t-copy.txt
# CHECK: Sections [
OpenPOWER on IntegriCloud