randomconfig fixes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2014-12-22 19:37:05 +01:00
parent a6588fa102
commit 11775edbfc
4 changed files with 7 additions and 7 deletions

View File

@ -745,11 +745,9 @@ static NOINLINE int writeTarFile(int tar_fd, int verboseFlag,
#endif #endif
return errorFlag; return errorFlag;
} }
#else #else /* !FEATURE_TAR_CREATE */
int writeTarFile(int tar_fd, int verboseFlag, # define writeTarFile(...) 0
int recurseFlags, const llist_t *include, #endif
const llist_t *exclude, const char *gzip);
#endif /* FEATURE_TAR_CREATE */
#if ENABLE_FEATURE_TAR_FROM #if ENABLE_FEATURE_TAR_FROM
static llist_t *append_file_list_to_list(llist_t *list) static llist_t *append_file_list_to_list(llist_t *list)

View File

@ -142,6 +142,7 @@ lib-$(CONFIG_ADDUSER) += update_passwd.o
lib-$(CONFIG_DELGROUP) += update_passwd.o lib-$(CONFIG_DELGROUP) += update_passwd.o
lib-$(CONFIG_DELUSER) += 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_PASSWD) += pw_encrypt.o update_passwd.o obscure.o
lib-$(CONFIG_CHPASSWD) += pw_encrypt.o update_passwd.o lib-$(CONFIG_CHPASSWD) += pw_encrypt.o update_passwd.o
lib-$(CONFIG_CRYPTPW) += pw_encrypt.o lib-$(CONFIG_CRYPTPW) += pw_encrypt.o

View File

@ -10,11 +10,12 @@
mkdir -p find.tempdir mkdir -p find.tempdir
touch find.tempdir/testfile touch find.tempdir/testfile
optional FEATURE_FIND_TYPE
testing "find -type f" \ testing "find -type f" \
"cd find.tempdir && find -type f 2>&1" \ "cd find.tempdir && find -type f 2>&1" \
"./testfile\n" \ "./testfile\n" \
"" "" "" ""
SKIP=
optional FEATURE_FIND_EXEC optional FEATURE_FIND_EXEC
testing "find -exec exitcode 1" \ testing "find -exec exitcode 1" \
"cd find.tempdir && find testfile -exec true {} \; 2>&1; echo \$?" \ "cd find.tempdir && find testfile -exec true {} \; 2>&1; echo \$?" \

View File

@ -168,7 +168,7 @@ SKIP=
# continuing to use directory structure from prev test # continuing to use directory structure from prev test
rm -rf mdev.testdir/dev/* rm -rf mdev.testdir/dev/*
echo "sda 0:0 644 @echo @echo TEST" >mdev.testdir/etc/mdev.conf 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" \ testing "mdev command" \
"env - PATH=$PATH ACTION=add DEVPATH=/block/sda chroot mdev.testdir /mdev 2>&1; "env - PATH=$PATH ACTION=add DEVPATH=/block/sda chroot mdev.testdir /mdev 2>&1;
ls -lnR mdev.testdir/dev | $FILTER_LS" \ ls -lnR mdev.testdir/dev | $FILTER_LS" \