[ELF] - Enable reproduce-error.s under windows.
authorGeorge Rimar <grimar@accesssoftek.com>
Wed, 9 Nov 2016 13:55:30 +0000 (13:55 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Wed, 9 Nov 2016 13:55:30 +0000 (13:55 +0000)
Differential revision: https://reviews.llvm.org/D26445

llvm-svn: 286364

lld/test/ELF/reproduce-error.s

index c66132c..2ee5dba 100644 (file)
@@ -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