[PATCH] D62817: [test][llvm-objcopy] Test llvm-objcopy with standard streams

Alex Brachet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 4 00:45:14 PDT 2019


abrachet updated this revision to Diff 202867.
abrachet added a comment.

Directed a file in instead of piping cat


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D62817/new/

https://reviews.llvm.org/D62817

Files:
  llvm/test/tools/llvm-objcopy/ELF/standard-streams.test


Index: llvm/test/tools/llvm-objcopy/ELF/standard-streams.test
===================================================================
--- /dev/null
+++ llvm/test/tools/llvm-objcopy/ELF/standard-streams.test
@@ -0,0 +1,7 @@
+# RUN: llvm-objcopy - %t < %p/Inputs/alloc-symtab.o
+# RUN: llvm-objcopy %p/Inputs/alloc-symtab.o %t1
+# RUN: cmp %t %t1
+
+# RUN: llvm-objcopy %p/Inputs/alloc-symtab.o - > %t2
+# RUN: cmp %t1 %t2
+


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62817.202867.patch
Type: text/x-patch
Size: 419 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190604/a9dd5f8a/attachment.bin>


More information about the llvm-commits mailing list