From: Alex Brachet Date: Tue, 4 Jun 2019 22:17:27 +0000 (+0000) Subject: [test][llvm-objcopy] Test llvm-objcopy with standard streams X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e1ea29123fdcb17492c5a31f11fa4f6a26175a96;p=llvm [test][llvm-objcopy] Test llvm-objcopy with standard streams Differential Revision: https://reviews.llvm.org/D62817 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@362556 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/tools/llvm-objcopy/ELF/standard-streams.test b/test/tools/llvm-objcopy/ELF/standard-streams.test new file mode 100644 index 00000000000..85b120b22a9 --- /dev/null +++ b/test/tools/llvm-objcopy/ELF/standard-streams.test @@ -0,0 +1,6 @@ +# 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