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

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 9 06:05:15 PST 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL286364: [ELF] - Enable reproduce-error.s under windows. (authored by grimar).

Changed prior to commit:
  https://reviews.llvm.org/D26445?vs=77332&id=77339#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D26445

Files:
  lld/trunk/test/ELF/reproduce-error.s


Index: lld/trunk/test/ELF/reproduce-error.s
===================================================================
--- lld/trunk/test/ELF/reproduce-error.s
+++ lld/trunk/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.77339.patch
Type: text/x-patch
Size: 747 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161109/7f6dc830/attachment.bin>


More information about the llvm-commits mailing list