Differential revision: https://reviews.llvm.org/D26445
llvm-svn: 286364
-# 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
# 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