diff options
| author | Rob Landley <rob@landley.net> | 2021-04-20 06:00:15 -0500 | 
|---|---|---|
| committer | Rob Landley <rob@landley.net> | 2021-04-20 06:00:15 -0500 | 
| commit | f73d10a50afb2073c3825614d0d6811737cfaf91 (patch) | |
| tree | caa68aa6c006ae95749b3bef7daf15a57b31f2ce | |
| parent | 76479c3ed071f1e4d985694ad86a144e8a716f5c (diff) | |
| download | toybox-f73d10a50afb2073c3825614d0d6811737cfaf91.tar.gz | |
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.
| -rwxr-xr-x | tests/cpio.test | 3 | 
1 files changed, 1 insertions, 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" "" "" | 
