OSDN Git Service

[test][llvm-objcopy] Test llvm-objcopy with standard streams
authorAlex Brachet <alexbrachetmialot@gmail.com>
Tue, 4 Jun 2019 22:17:27 +0000 (22:17 +0000)
committerAlex Brachet <alexbrachetmialot@gmail.com>
Tue, 4 Jun 2019 22:17:27 +0000 (22:17 +0000)
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 [new file with mode: 0644]

diff --git a/test/tools/llvm-objcopy/ELF/standard-streams.test b/test/tools/llvm-objcopy/ELF/standard-streams.test
new file mode 100644 (file)
index 0000000..85b120b
--- /dev/null
@@ -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