aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2020-07-09 13:10:58 +0100
committerRon Yorston <rmy@pobox.com>2020-07-09 13:10:58 +0100
commit9c0b2f7020d7c30b21a930ef54be632e092e533b (patch)
treeb2187c40bd2fd9f49f73599fb08e52cb7a596de0 /scripts
parenta8c6e20e332a9e11a9d28cd6770eadb9c9d73cb7 (diff)
parentd21a63f9fca8eb16f79de9b72d4a3484dfaec1fc (diff)
downloadbusybox-w32-9c0b2f7020d7c30b21a930ef54be632e092e533b.tar.gz
busybox-w32-9c0b2f7020d7c30b21a930ef54be632e092e533b.tar.bz2
busybox-w32-9c0b2f7020d7c30b21a930ef54be632e092e533b.zip
Merge branch 'busybox' into merge
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/randomtest25
1 files changed, 25 insertions, 0 deletions
diff --git a/scripts/randomtest b/scripts/randomtest
index 94709a99f..76550d267 100755
--- a/scripts/randomtest
+++ b/scripts/randomtest
@@ -113,6 +113,31 @@ if test x"$LIBC" = x"uclibc"; then
113 echo 'CONFIG_ASH_INTERNAL_GLOB=y' >>.config 113 echo 'CONFIG_ASH_INTERNAL_GLOB=y' >>.config
114fi 114fi
115 115
116# If musl
117if test x"$LIBC" = x"musl"; then
118 cat .config \
119 | grep -v CONFIG_STATIC \
120 | grep -v CONFIG_DEBUG_SANITIZE \
121 | grep -v CONFIG_LFS \
122 | grep -v CONFIG_EXTRA_COMPAT \
123 | grep -v CONFIG_FEATURE_2_4_MODULES \
124 | grep -v CONFIG_FEATURE_VI_REGEX_SEARCH \
125 | grep -v CONFIG_FEATURE_MOUNT_NFS \
126 | grep -v CONFIG_FEATURE_INETD_RPC \
127 >.config.new
128 mv .config.new .config
129 echo 'CONFIG_STATIC=y' >>.config
130 # "error: cannot specify -static with -fsanitize=address":
131 echo '# CONFIG_DEBUG_SANITIZE is not set' >>.config
132 # with LFS off, uoff_t will have wrong width:
133 echo 'CONFIG_LFS=y' >>.config
134 echo '# CONFIG_EXTRA_COMPAT is not set' >>.config
135 echo '# CONFIG_FEATURE_2_4_MODULES is not set' >>.config
136 echo '# CONFIG_FEATURE_VI_REGEX_SEARCH is not set' >>.config
137 echo '# CONFIG_FEATURE_MOUNT_NFS is not set' >>.config
138 echo '# CONFIG_FEATURE_INETD_RPC is not set' >>.config
139fi
140
116# If STATIC, remove some things. 141# If STATIC, remove some things.
117# PAM with static linking is probably pointless 142# 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) 143# (but I need to try - now I don't have libpam.a on my system, only libpam.so)