From dafb9211c77788d7ea124aca18205e924d1ac48a Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Fri, 16 Apr 2021 01:39:08 -0500 Subject: cpio: continue past TRAILER!!! (like kernel does) but error on empty archive. --- tests/cpio.test | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests') diff --git a/tests/cpio.test b/tests/cpio.test index 7e2955a1..3955800f 100755 --- a/tests/cpio.test +++ b/tests/cpio.test @@ -59,3 +59,6 @@ testing "-id keeps existing files" "echo new >a/b && cpio -id /dev/nul testing "-iu replaces existing files; no error" "echo new >a/b && cpio -iu a/b && cpio -idu /dev/null || echo err" "err\n" "" "" -- cgit v1.2.3