[PATCH] D26445: [ELF] - Enable reproduce-error.s test under windows

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 9 03:50:03 PST 2016


grimar created this revision.
grimar added reviewers: ruiu, rafael.
grimar added subscribers: llvm-commits, grimar, evgeny777.

I might be missing something, but is seems we can enable it,
like this patch do.


https://reviews.llvm.org/D26445

Files:
  test/ELF/reproduce-error.s


Index: test/ELF/reproduce-error.s
===================================================================
--- test/ELF/reproduce-error.s
+++ test/ELF/reproduce-error.s
@@ -1,5 +1,4 @@
-# Extracting the cpio archive can get over the path limit on windows.
-# REQUIRES: shell
+# REQUIRES: x86, cpio
 
 # RUN: rm -rf %t.dir
 # RUN: mkdir -p %t.dir
@@ -9,7 +8,8 @@
 # CHECK: cannot open abc: {{N|n}}o such file or directory
 
 # RUN: grep TRAILER repro.cpio
-# RUN: cpio -id < repro.cpio
-# RUN: FileCheck --check-prefix=RSP %s < repro/response.txt
+# RUN: echo "*response.txt" > list.txt
+# RUN: cpio -i --to-stdout --pattern-file=list.txt < repro.cpio \
+# RUN:   | FileCheck %s --check-prefix=RSP
 # RSP: abc
 # RSP: -o t


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26445.77332.patch
Type: text/x-patch
Size: 717 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161109/59e33ebd/attachment.bin>


More information about the llvm-commits mailing list