[PATCH] D102823: [llvm-objcopy] Update LIT test to resolve bot failure [NFC]

Sergey Dmitriev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 19 19:51:53 PDT 2021


sdmitriev created this revision.
sdmitriev added reviewers: hubert.reinterpretcast, jhenderson.
Herald added a reviewer: alexshap.
Herald added a reviewer: rupprecht.
Herald added a subscriber: abrachet.
sdmitriev requested review of this revision.
Herald added subscribers: llvm-commits, MaskRay.
Herald added a project: LLVM.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D102823

Files:
  llvm/test/tools/llvm-objcopy/dash-dash.test


Index: llvm/test/tools/llvm-objcopy/dash-dash.test
===================================================================
--- llvm/test/tools/llvm-objcopy/dash-dash.test
+++ 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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102823.346620.patch
Type: text/x-patch
Size: 889 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210520/40b82f0d/attachment.bin>


More information about the llvm-commits mailing list