summaryrefslogtreecommitdiff
path: root/testsuite/cpio.tests
diff options
context:
space:
mode:
authorDenys Vlasenko2016-12-12 09:26:16 +0100
committerDenys Vlasenko2016-12-12 09:26:16 +0100
commit52ae0980112f57bbdf4590f649432264d00cc943 (patch)
treebee4bbcb7796fe7faa20783ab43776c36937f319 /testsuite/cpio.tests
parentac5d324540c5ec38c016848f2075b9f3e0560c11 (diff)
downloadbusybox-52ae0980112f57bbdf4590f649432264d00cc943.zip
busybox-52ae0980112f57bbdf4590f649432264d00cc943.tar.gz
randomconfig fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite/cpio.tests')
-rwxr-xr-xtestsuite/cpio.tests3
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/cpio.tests b/testsuite/cpio.tests
index d44c95b..88ec086 100755
--- a/testsuite/cpio.tests
+++ b/testsuite/cpio.tests
@@ -127,6 +127,7 @@ testing "cpio extracts in existing directory" \
" "" ""
SKIP=
+optional FEATURE_CPIO_O
testing "cpio uses by default uid/gid" \
"echo $0 | cpio -o -H newc | cpio -tv 2>&1 | tail -n +2 | awk ' { print \$2 } '; echo \$?" \
"\
@@ -135,6 +136,7 @@ $user/$group
" "" ""
SKIP=
+optional FEATURE_CPIO_O
testing "cpio -R with create" \
"echo $0 | cpio -o -H newc -R 1234:5678 | cpio -tv 2>&1 | tail -n +2 | awk ' { print \$2 } '; echo \$?" \
"\
@@ -143,6 +145,7 @@ testing "cpio -R with create" \
" "" ""
SKIP=
+optional FEATURE_CPIO_O
testing "cpio -R with extract" \
"echo $0 | cpio -o -H newc | cpio -tv -R 8765:4321 2>&1 | tail -n +2 | awk ' { print \$2 } '; echo \$?" \
"\