[llvm] 0b12963 - [llvm-objcopy] Update LIT test to resolve bot failure [NFC]
Sergey Dmitriev via llvm-commits
llvm-commits at lists.llvm.org
Wed May 19 20:21:23 PDT 2021
Author: Sergey Dmitriev
Date: 2021-05-19T19:56:35-07:00
New Revision: 0b12963b747c641c81a4a40e0382c91dcf686d17
URL: https://github.com/llvm/llvm-project/commit/0b12963b747c641c81a4a40e0382c91dcf686d17
DIFF: https://github.com/llvm/llvm-project/commit/0b12963b747c641c81a4a40e0382c91dcf686d17.diff
LOG: [llvm-objcopy] Update LIT test to resolve bot failure [NFC]
Reviewed By: hubert.reinterpretcast
Differential Revision: https://reviews.llvm.org/D102823
Added:
Modified:
llvm/test/tools/llvm-objcopy/dash-dash.test
Removed:
################################################################################
diff --git a/llvm/test/tools/llvm-objcopy/dash-dash.test b/llvm/test/tools/llvm-objcopy/dash-dash.test
index 37a1d70bd4c5d..87eb4a94995f0 100644
--- a/llvm/test/tools/llvm-objcopy/dash-dash.test
+++ b/llvm/test/tools/llvm-objcopy/dash-dash.test
@@ -6,12 +6,12 @@
# RUN: yaml2obj %s -o test-obj
# RUN: llvm-objcopy --only-section=.test test-obj -- --only-section
# RUN: llvm-objcopy --only-section=.test test-obj out-obj1
-# RUN: cmp out-obj1 -- --only-section
+# RUN: cmp -- out-obj1 --only-section
## Check the case when '--' is specified with input files but no options.
# RUN: llvm-objcopy -- test-obj --add-section
# RUN: llvm-objcopy test-obj out-obj2
-# RUN: cmp out-obj2 -- --add-section
+# RUN: cmp -- out-obj2 --add-section
## Check the case when '--' is specified with options but no input files.
# RUN: not llvm-objcopy --only-section=.test -- 2>&1 | FileCheck %s --check-prefixes=CHECK-NO-INPUT
More information about the llvm-commits
mailing list