randomconfig fixes
authorDenys Vlasenko <vda.linux@googlemail.com>
Mon, 22 Dec 2014 18:37:05 +0000 (19:37 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 22 Dec 2014 18:37:05 +0000 (19:37 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
archival/tar.c
libbb/Kbuild.src
testsuite/find.tests
testsuite/mdev.tests

index e116bd287de1ba246ac5dbc1a9fb5eb9bf5c4920..aa03ba9901767379351bfe36f94e08069dd5a62a 100644 (file)
@@ -745,11 +745,9 @@ static NOINLINE int writeTarFile(int tar_fd, int verboseFlag,
 #endif
        return errorFlag;
 }
-#else
-int writeTarFile(int tar_fd, int verboseFlag,
-       int recurseFlags, const llist_t *include,
-       const llist_t *exclude, const char *gzip);
-#endif /* FEATURE_TAR_CREATE */
+#else /* !FEATURE_TAR_CREATE */
+# define writeTarFile(...) 0
+#endif
 
 #if ENABLE_FEATURE_TAR_FROM
 static llist_t *append_file_list_to_list(llist_t *list)
index f204816c5aa3fba8cc470c894808532cd7a976c7..7fb6872275af42fcee41d177c3422127e391861e 100644 (file)
@@ -142,6 +142,7 @@ lib-$(CONFIG_ADDUSER) += update_passwd.o
 lib-$(CONFIG_DELGROUP) += update_passwd.o
 lib-$(CONFIG_DELUSER) += update_passwd.o
 
+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
index f041106c3c233b6190eb23348aa803504b222d02..78dfa123033e9f881d144c22159ba88aba5ee663 100755 (executable)
 mkdir -p find.tempdir
 touch find.tempdir/testfile
 
+optional FEATURE_FIND_TYPE
 testing "find -type f" \
        "cd find.tempdir && find -type f 2>&1" \
        "./testfile\n" \
        "" ""
-
+SKIP=
 optional FEATURE_FIND_EXEC
 testing "find -exec exitcode 1" \
        "cd find.tempdir && find testfile -exec true {} \; 2>&1; echo \$?" \
index 48d3dcc2c31880332ed660d77d5d0596e66c459d..59873011a0f925540bbc8cd6794eb5680bc0bd48 100755 (executable)
@@ -168,7 +168,7 @@ SKIP=
 # continuing to use directory structure from prev test
 rm -rf mdev.testdir/dev/*
 echo "sda 0:0 644 @echo @echo TEST" >mdev.testdir/etc/mdev.conf
-optional STATIC FEATURE_MDEV_CONF FEATURE_MDEV_EXEC FEATURE_LS_RECURSIVE FEATURE_LS_TIMESTAMPS FEATURE_LS_USERNAME FEATURE_SH_IS_ASH
+optional STATIC FEATURE_MDEV_CONF FEATURE_MDEV_EXEC FEATURE_LS_RECURSIVE FEATURE_LS_TIMESTAMPS FEATURE_LS_USERNAME FEATURE_SH_IS_ASH ASH_BUILTIN_ECHO
 testing "mdev command" \
        "env - PATH=$PATH ACTION=add DEVPATH=/block/sda chroot mdev.testdir /mdev 2>&1;
        ls -lnR mdev.testdir/dev | $FILTER_LS" \