diff options
Diffstat (limited to '')
-rwxr-xr-x | testsuite/cpio.tests | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/cpio.tests b/testsuite/cpio.tests index d44c95b10..88ec086b6 100755 --- a/testsuite/cpio.tests +++ b/testsuite/cpio.tests | |||
@@ -127,6 +127,7 @@ testing "cpio extracts in existing directory" \ | |||
127 | " "" "" | 127 | " "" "" |
128 | SKIP= | 128 | SKIP= |
129 | 129 | ||
130 | optional FEATURE_CPIO_O | ||
130 | testing "cpio uses by default uid/gid" \ | 131 | testing "cpio uses by default uid/gid" \ |
131 | "echo $0 | cpio -o -H newc | cpio -tv 2>&1 | tail -n +2 | awk ' { print \$2 } '; echo \$?" \ | 132 | "echo $0 | cpio -o -H newc | cpio -tv 2>&1 | tail -n +2 | awk ' { print \$2 } '; echo \$?" \ |
132 | "\ | 133 | "\ |
@@ -135,6 +136,7 @@ $user/$group | |||
135 | " "" "" | 136 | " "" "" |
136 | SKIP= | 137 | SKIP= |
137 | 138 | ||
139 | optional FEATURE_CPIO_O | ||
138 | testing "cpio -R with create" \ | 140 | testing "cpio -R with create" \ |
139 | "echo $0 | cpio -o -H newc -R 1234:5678 | cpio -tv 2>&1 | tail -n +2 | awk ' { print \$2 } '; echo \$?" \ | 141 | "echo $0 | cpio -o -H newc -R 1234:5678 | cpio -tv 2>&1 | tail -n +2 | awk ' { print \$2 } '; echo \$?" \ |
140 | "\ | 142 | "\ |
@@ -143,6 +145,7 @@ testing "cpio -R with create" \ | |||
143 | " "" "" | 145 | " "" "" |
144 | SKIP= | 146 | SKIP= |
145 | 147 | ||
148 | optional FEATURE_CPIO_O | ||
146 | testing "cpio -R with extract" \ | 149 | testing "cpio -R with extract" \ |
147 | "echo $0 | cpio -o -H newc | cpio -tv -R 8765:4321 2>&1 | tail -n +2 | awk ' { print \$2 } '; echo \$?" \ | 150 | "echo $0 | cpio -o -H newc | cpio -tv -R 8765:4321 2>&1 | tail -n +2 | awk ' { print \$2 } '; echo \$?" \ |
148 | "\ | 151 | "\ |