From 1feb2f7d939c922d9672ec544577c09e9ec8e8ca Mon Sep 17 00:00:00 2001 From: George Rimar Date: Wed, 9 Nov 2016 13:55:30 +0000 Subject: [PATCH] [ELF] - Enable reproduce-error.s under windows. Differential revision: https://reviews.llvm.org/D26445 llvm-svn: 286364 --- lld/test/ELF/reproduce-error.s | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lld/test/ELF/reproduce-error.s b/lld/test/ELF/reproduce-error.s index c66132c4bd01..2ee5dba4b4d7 100644 --- a/lld/test/ELF/reproduce-error.s +++ b/lld/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