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 | |
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>
-rw-r--r-- | libbb/Kbuild.src | 1 | ||||
-rwxr-xr-x | scripts/randomtest | 2 | ||||
-rwxr-xr-x | testsuite/ar.tests | 2 | ||||
-rwxr-xr-x | testsuite/tar.tests | 4 |
4 files changed, 6 insertions, 3 deletions
diff --git a/libbb/Kbuild.src b/libbb/Kbuild.src index b08ce1158..52a90e9a1 100644 --- a/libbb/Kbuild.src +++ b/libbb/Kbuild.src | |||
@@ -145,6 +145,7 @@ lib-$(CONFIG_FTPD) += correct_password.o | |||
145 | lib-$(CONFIG_PASSWD) += pw_encrypt.o update_passwd.o obscure.o | 145 | lib-$(CONFIG_PASSWD) += pw_encrypt.o update_passwd.o obscure.o |
146 | lib-$(CONFIG_CHPASSWD) += pw_encrypt.o update_passwd.o | 146 | lib-$(CONFIG_CHPASSWD) += pw_encrypt.o update_passwd.o |
147 | lib-$(CONFIG_CRYPTPW) += pw_encrypt.o | 147 | lib-$(CONFIG_CRYPTPW) += pw_encrypt.o |
148 | lib-$(CONFIG_MKPASSWD) += pw_encrypt.o | ||
148 | lib-$(CONFIG_SULOGIN) += pw_encrypt.o correct_password.o | 149 | lib-$(CONFIG_SULOGIN) += pw_encrypt.o correct_password.o |
149 | lib-$(CONFIG_VLOCK) += pw_encrypt.o correct_password.o | 150 | lib-$(CONFIG_VLOCK) += pw_encrypt.o correct_password.o |
150 | lib-$(CONFIG_SU) += pw_encrypt.o correct_password.o | 151 | lib-$(CONFIG_SU) += pw_encrypt.o correct_password.o |
diff --git a/scripts/randomtest b/scripts/randomtest index 41f252ad7..287f1c771 100755 --- a/scripts/randomtest +++ b/scripts/randomtest | |||
@@ -115,6 +115,8 @@ fi | |||
115 | 115 | ||
116 | # Build! | 116 | # Build! |
117 | nice -n 10 make $MAKEOPTS 2>&1 | tee make.log | 117 | nice -n 10 make $MAKEOPTS 2>&1 | tee make.log |
118 | grep 'Rerun make' make.log \ | ||
119 | && nice -n 10 make $MAKEOPTS 2>&1 | tee -a make.log | ||
118 | 120 | ||
119 | # Return exitcode 1 if busybox executable does not exist | 121 | # Return exitcode 1 if busybox executable does not exist |
120 | test -x busybox | 122 | test -x busybox |
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 | " "\ |