aboutsummaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2016-06-19 21:54:04 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2016-06-19 21:54:04 +0200
commitbb0bf287d8fcb59a7d44661681576f77845dedbc (patch)
tree5cae0ee59152b2fa77a0e3ea0d6713dba7755bce /testsuite
parent015db5800ca7c6dd2d201eacb2951e72e6782b30 (diff)
downloadbusybox-bb0bf287d8fcb59a7d44661681576f77845dedbc.tar.gz
randomconfig fixes 2
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite')
-rwxr-xr-xtestsuite/ar.tests2
-rwxr-xr-xtestsuite/tar.tests4
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" \
"$(md5sum <README)\n" \
"" \
""
-rm test.a
+rm test.a 2>/dev/null
testing "ar replaces things in archives" \
"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=
# The correct implementation unlinks target before
# creating the second file.
# We test that /tmp/passwd remains empty:
-optional UUDECODE FEATURE_SEAMLESS_BZ2
+optional UUDECODE FEATURE_TAR_AUTODETECT FEATURE_SEAMLESS_BZ2
testing "tar does not extract into symlinks" "\
>>/tmp/passwd && uudecode -o input && tar xf input 2>&1 && rm passwd; cat /tmp/passwd; echo \$?
" "\
@@ -282,7 +282,7 @@ l4/V8LDoe90yiWJhOJvIypgEfxdyRThQkBVn/bI=
"
SKIP=
# And same with -k
-optional UUDECODE FEATURE_SEAMLESS_BZ2
+optional UUDECODE FEATURE_TAR_AUTODETECT FEATURE_SEAMLESS_BZ2
testing "tar -k does not extract into symlinks" "\
>>/tmp/passwd && uudecode -o input && tar xf input -k 2>&1 && rm passwd; cat /tmp/passwd; echo \$?
" "\