randomconfig fixes 2
authorDenys Vlasenko <vda.linux@googlemail.com>
Sun, 19 Jun 2016 19:54:04 +0000 (21:54 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sun, 19 Jun 2016 19:54:04 +0000 (21:54 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
libbb/Kbuild.src
scripts/randomtest
testsuite/ar.tests
testsuite/tar.tests

index b08ce11582c40995f190b2d77b8f80a55d47a1d1..52a90e9a1e6a63d02c13cfae5067d9b91a274f53 100644 (file)
@@ -145,6 +145,7 @@ lib-$(CONFIG_FTPD) += correct_password.o
 lib-$(CONFIG_PASSWD) += pw_encrypt.o update_passwd.o obscure.o
 lib-$(CONFIG_CHPASSWD) += pw_encrypt.o update_passwd.o
 lib-$(CONFIG_CRYPTPW) += pw_encrypt.o
+lib-$(CONFIG_MKPASSWD) += pw_encrypt.o
 lib-$(CONFIG_SULOGIN) += pw_encrypt.o correct_password.o
 lib-$(CONFIG_VLOCK) += pw_encrypt.o correct_password.o
 lib-$(CONFIG_SU) += pw_encrypt.o correct_password.o
index 41f252ad70fbd08a21ce42333eb5e67f01bccb6b..287f1c7717ca8e59563309ae2fc4082b73716e9a 100755 (executable)
@@ -115,6 +115,8 @@ fi
 
 # Build!
 nice -n 10 make $MAKEOPTS 2>&1 | tee make.log
+grep 'Rerun make' make.log \
+&& nice -n 10 make $MAKEOPTS 2>&1 | tee -a make.log
 
 # Return exitcode 1 if busybox executable does not exist
 test -x busybox
index 0a8eb9b324c946d765d28dd131d520ed1a273daf..ad7b8fe5fa5bfc2d9a73918de0e72dc3d037bf66 100755 (executable)
@@ -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" \
index 890a73dd57a894fa237b17da7b92021da2cd3e3c..e9021662ee803f28d6e7886839f1d8461b35b01b 100755 (executable)
@@ -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 \$?
 " "\