Skip to content

Commit

Permalink
[llvm-objcopy] Update LIT test to resolve bot failure [NFC]
Browse files Browse the repository at this point in the history
Reviewed By: hubert.reinterpretcast

Differential Revision: https://reviews.llvm.org/D102823
  • Loading branch information
sndmitriev committed May 20, 2021
1 parent 6ff380f commit 0b12963
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions llvm/test/tools/llvm-objcopy/dash-dash.test
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0b12963

Please sign in to comment.