diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/randomtest | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/scripts/randomtest b/scripts/randomtest index 94709a99f..ec2f095b2 100755 --- a/scripts/randomtest +++ b/scripts/randomtest | |||
@@ -113,6 +113,28 @@ if test x"$LIBC" = x"uclibc"; then | |||
113 | echo 'CONFIG_ASH_INTERNAL_GLOB=y' >>.config | 113 | echo 'CONFIG_ASH_INTERNAL_GLOB=y' >>.config |
114 | fi | 114 | fi |
115 | 115 | ||
116 | # If musl | ||
117 | if test x"$LIBC" = x"musl"; then | ||
118 | cat .config \ | ||
119 | | grep -v CONFIG_STATIC \ | ||
120 | | grep -v CONFIG_LFS \ | ||
121 | | grep -v CONFIG_EXTRA_COMPAT \ | ||
122 | | grep -v CONFIG_FEATURE_2_4_MODULES \ | ||
123 | | grep -v CONFIG_FEATURE_VI_REGEX_SEARCH \ | ||
124 | | grep -v CONFIG_FEATURE_MOUNT_NFS \ | ||
125 | | grep -v CONFIG_FEATURE_INETD_RPC \ | ||
126 | >.config.new | ||
127 | mv .config.new .config | ||
128 | echo 'CONFIG_STATIC=y' >>.config | ||
129 | # with LFS off, uoff_t will have wrong width: | ||
130 | echo 'CONFIG_LFS=y' >>.config | ||
131 | echo '# CONFIG_EXTRA_COMPAT is not set' >>.config | ||
132 | echo '# CONFIG_FEATURE_2_4_MODULES is not set' >>.config | ||
133 | echo '# CONFIG_FEATURE_VI_REGEX_SEARCH is not set' >>.config | ||
134 | echo '# CONFIG_FEATURE_MOUNT_NFS is not set' >>.config | ||
135 | echo '# CONFIG_FEATURE_INETD_RPC is not set' >>.config | ||
136 | fi | ||
137 | |||
116 | # If STATIC, remove some things. | 138 | # If STATIC, remove some things. |
117 | # PAM with static linking is probably pointless | 139 | # PAM with static linking is probably pointless |
118 | # (but I need to try - now I don't have libpam.a on my system, only libpam.so) | 140 | # (but I need to try - now I don't have libpam.a on my system, only libpam.so) |