diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2016-06-19 21:54:04 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2016-06-19 21:54:04 +0200 |
commit | bb0bf287d8fcb59a7d44661681576f77845dedbc (patch) | |
tree | 5cae0ee59152b2fa77a0e3ea0d6713dba7755bce /testsuite | |
parent | 015db5800ca7c6dd2d201eacb2951e72e6782b30 (diff) | |
download | busybox-w32-bb0bf287d8fcb59a7d44661681576f77845dedbc.tar.gz busybox-w32-bb0bf287d8fcb59a7d44661681576f77845dedbc.tar.bz2 busybox-w32-bb0bf287d8fcb59a7d44661681576f77845dedbc.zip |
randomconfig fixes 2
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite')
-rwxr-xr-x | testsuite/ar.tests | 2 | ||||
-rwxr-xr-x | testsuite/tar.tests | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/ar.tests b/testsuite/ar.tests index 0a8eb9b32..ad7b8fe5f 100755 --- a/testsuite/ar.tests +++ b/testsuite/ar.tests | |||
@@ -15,7 +15,7 @@ testing "ar creates archives" \ | |||
15 | "$(md5sum <README)\n" \ | 15 | "$(md5sum <README)\n" \ |
16 | "" \ | 16 | "" \ |
17 | "" | 17 | "" |
18 | rm test.a | 18 | rm test.a 2>/dev/null |
19 | 19 | ||
20 | testing "ar replaces things in archives" \ | 20 | testing "ar replaces things in archives" \ |
21 | "echo 'blah!' >file1 && echo 'blast!' >file2 && ar cr test.a README file1 file2 && mv file2 file1 && ar cr test.a file1 && ar p test.a file1" \ | 21 | "echo 'blah!' >file1 && echo 'blast!' >file2 && ar cr test.a README file1 file2 && mv file2 file1 && ar cr test.a file1 && ar p test.a file1" \ |
diff --git a/testsuite/tar.tests b/testsuite/tar.tests index 890a73dd5..e9021662e 100755 --- a/testsuite/tar.tests +++ b/testsuite/tar.tests | |||
@@ -266,7 +266,7 @@ SKIP= | |||
266 | # The correct implementation unlinks target before | 266 | # The correct implementation unlinks target before |
267 | # creating the second file. | 267 | # creating the second file. |
268 | # We test that /tmp/passwd remains empty: | 268 | # We test that /tmp/passwd remains empty: |
269 | optional UUDECODE FEATURE_SEAMLESS_BZ2 | 269 | optional UUDECODE FEATURE_TAR_AUTODETECT FEATURE_SEAMLESS_BZ2 |
270 | testing "tar does not extract into symlinks" "\ | 270 | testing "tar does not extract into symlinks" "\ |
271 | >>/tmp/passwd && uudecode -o input && tar xf input 2>&1 && rm passwd; cat /tmp/passwd; echo \$? | 271 | >>/tmp/passwd && uudecode -o input && tar xf input 2>&1 && rm passwd; cat /tmp/passwd; echo \$? |
272 | " "\ | 272 | " "\ |
@@ -282,7 +282,7 @@ l4/V8LDoe90yiWJhOJvIypgEfxdyRThQkBVn/bI= | |||
282 | " | 282 | " |
283 | SKIP= | 283 | SKIP= |
284 | # And same with -k | 284 | # And same with -k |
285 | optional UUDECODE FEATURE_SEAMLESS_BZ2 | 285 | optional UUDECODE FEATURE_TAR_AUTODETECT FEATURE_SEAMLESS_BZ2 |
286 | testing "tar -k does not extract into symlinks" "\ | 286 | testing "tar -k does not extract into symlinks" "\ |
287 | >>/tmp/passwd && uudecode -o input && tar xf input -k 2>&1 && rm passwd; cat /tmp/passwd; echo \$? | 287 | >>/tmp/passwd && uudecode -o input && tar xf input -k 2>&1 && rm passwd; cat /tmp/passwd; echo \$? |
288 | " "\ | 288 | " "\ |