cpio.tests: do not use "ls" to detect that file does not exist
No binary (build failed)
gcc -Wp,-MD,applets/.usage.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -Iinclude -Iinclude -o applets/usage applets/usage.c
(log yok)
| @@ -166,14 +166,14 @@ mkdir -p cpio.testdir/extract | |
| testing "cpio extract file outside of destination" "\ | |
| (cd cpio.testdir/prepare/inner && echo -e '../dont_write\nto_extract' | cpio -o -H newc) | (cd cpio.testdir/extract && cpio -vi 2>&1) | |
| echo \$? | |
| - | ls cpio.testdir/dont_write 2>&1" \ |
| + | test -f cpio.testdir/dont_write || echo cpio.testdir/dont_write does not exist" \ |
| "\ | |
| cpio: removing leading '../' from member names | |
| dont_write | |
| to_extract | |
| 1 blocks | |
| 0 | |
| - | ls: cpio.testdir/dont_write: No such file or directory |
| + | cpio.testdir/dont_write does not exist |
| " "" "" | |
| SKIP= | |