From f73d10a50afb2073c3825614d0d6811737cfaf91 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Tue, 20 Apr 2021 06:00:15 -0500 Subject: Test doesn't need the < /dev/null and input being a pipe doesn't make legacy cpio think it's reading from 1970's era reel-to-reel magnetic tape. --- tests/cpio.test | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/cpio.test b/tests/cpio.test index 9d9d9ba9..34794841 100755 --- a/tests/cpio.test +++ b/tests/cpio.test @@ -62,5 +62,4 @@ testing "skip NUL" "for i in a b; do dd if=/dev/zero bs=512 count=1 2>/dev/null; "a\na/b\na\na/b\n" "" "" rm -rf a a.cpio -testing "error on empty file" \ - "setsid cpio -i < /dev/null 2>/dev/null || echo err" "err\n" "" "" +testing "error on empty file" "cpio -i 2>/dev/null || echo err" "err\n" "" "" -- cgit v1.2.3