diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-08-10 00:51:29 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-08-10 00:51:29 +0200 |
commit | b47b3ce1bd651c689fae3cac2760f43f453e2b6e (patch) | |
tree | 792a1710799fbf57c66fa51a642ae6d5074640c5 /testsuite/tar.tests | |
parent | b347df91317ca05910e930c94fdba30baf9e2de8 (diff) | |
download | busybox-w32-b47b3ce1bd651c689fae3cac2760f43f453e2b6e.tar.gz busybox-w32-b47b3ce1bd651c689fae3cac2760f43f453e2b6e.tar.bz2 busybox-w32-b47b3ce1bd651c689fae3cac2760f43f453e2b6e.zip |
randomconfig fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite/tar.tests')
-rwxr-xr-x | testsuite/tar.tests | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/tar.tests b/testsuite/tar.tests index 534135df8..39ece5feb 100755 --- a/testsuite/tar.tests +++ b/testsuite/tar.tests | |||
@@ -156,6 +156,7 @@ SKIP= | |||
156 | 156 | ||
157 | # Had a bug where on extract autodetect first "switched off" -z | 157 | # Had a bug where on extract autodetect first "switched off" -z |
158 | # and then failed to recognize .tgz extension | 158 | # and then failed to recognize .tgz extension |
159 | optional FEATURE_TAR_CREATE FEATURE_SEAMLESS_GZ | ||
159 | testing "tar extract tgz" "\ | 160 | testing "tar extract tgz" "\ |
160 | dd count=1 bs=1M if=/dev/zero of=F0 2>/dev/null | 161 | dd count=1 bs=1M if=/dev/zero of=F0 2>/dev/null |
161 | tar -czf F0.tgz F0 | 162 | tar -czf F0.tgz F0 |
@@ -167,8 +168,10 @@ F0 | |||
167 | Ok | 168 | Ok |
168 | " \ | 169 | " \ |
169 | "" "" | 170 | "" "" |
171 | SKIP= | ||
170 | 172 | ||
171 | # On extract, everything up to and including last ".." component is stripped | 173 | # On extract, everything up to and including last ".." component is stripped |
174 | optional FEATURE_TAR_CREATE | ||
172 | testing "tar strips /../ on extract" "\ | 175 | testing "tar strips /../ on extract" "\ |
173 | rm -rf input_* test.tar 2>/dev/null | 176 | rm -rf input_* test.tar 2>/dev/null |
174 | mkdir input_dir | 177 | mkdir input_dir |
@@ -184,6 +187,7 @@ input_dir/file | |||
184 | Ok | 187 | Ok |
185 | " \ | 188 | " \ |
186 | "" "" | 189 | "" "" |
190 | SKIP= | ||
187 | 191 | ||
188 | 192 | ||
189 | cd .. && rm -rf tar.tempdir || exit 1 | 193 | cd .. && rm -rf tar.tempdir || exit 1 |