From e1ea29123fdcb17492c5a31f11fa4f6a26175a96 Mon Sep 17 00:00:00 2001 From: Alex Brachet Date: Tue, 4 Jun 2019 22:17:27 +0000 Subject: [PATCH] [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 --- test/tools/llvm-objcopy/ELF/standard-streams.test | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/tools/llvm-objcopy/ELF/standard-streams.test 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 -- 2.40.0