aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2021-08-17 08:26:36 +0100
committerRon Yorston <rmy@pobox.com>2021-08-17 08:26:36 +0100
commitf13defb1c8f892ecf3e8dd5dbe486cc2b53e6f03 (patch)
tree15c9c174532e433e5632637c541d09e591c01d60 /scripts
parent41f31584037be6b9d74a89245dff9ad8f0db146f (diff)
parent540aa116615713ad53e5ac98850993162e27c32d (diff)
downloadbusybox-w32-f13defb1c8f892ecf3e8dd5dbe486cc2b53e6f03.tar.gz
busybox-w32-f13defb1c8f892ecf3e8dd5dbe486cc2b53e6f03.tar.bz2
busybox-w32-f13defb1c8f892ecf3e8dd5dbe486cc2b53e6f03.zip
Merge branch 'busybox' into merge
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/randomtest2
-rwxr-xr-xscripts/randomtest.loop11
2 files changed, 8 insertions, 5 deletions
diff --git a/scripts/randomtest b/scripts/randomtest
index 76550d267..f6e0c9d8c 100755
--- a/scripts/randomtest
+++ b/scripts/randomtest
@@ -83,7 +83,6 @@ if test x"$LIBC" = x"uclibc"; then
83 \ 83 \
84 | grep -v CONFIG_FEATURE_2_4_MODULES \ 84 | grep -v CONFIG_FEATURE_2_4_MODULES \
85 | grep -v CONFIG_FEATURE_SYNC_FANCY \ 85 | grep -v CONFIG_FEATURE_SYNC_FANCY \
86 | grep -v CONFIG_FEATURE_TOUCH_NODEREF \
87 | grep -v CONFIG_NANDWRITE \ 86 | grep -v CONFIG_NANDWRITE \
88 | grep -v CONFIG_NANDDUMP \ 87 | grep -v CONFIG_NANDDUMP \
89 | grep -v CONFIG_BLKDISCARD \ 88 | grep -v CONFIG_BLKDISCARD \
@@ -100,7 +99,6 @@ if test x"$LIBC" = x"uclibc"; then
100 echo '# CONFIG_PIE is not set' >>.config 99 echo '# CONFIG_PIE is not set' >>.config
101 echo '# CONFIG_FEATURE_2_4_MODULES is not set' >>.config 100 echo '# CONFIG_FEATURE_2_4_MODULES is not set' >>.config
102 echo '# CONFIG_FEATURE_SYNC_FANCY is not set' >>.config 101 echo '# CONFIG_FEATURE_SYNC_FANCY is not set' >>.config
103 echo '# CONFIG_FEATURE_TOUCH_NODEREF is not set' >>.config
104 # My uclibc installation does not support some needed APIs... 102 # My uclibc installation does not support some needed APIs...
105 echo '# CONFIG_NANDWRITE is not set' >>.config 103 echo '# CONFIG_NANDWRITE is not set' >>.config
106 echo '# CONFIG_NANDDUMP is not set' >>.config 104 echo '# CONFIG_NANDDUMP is not set' >>.config
diff --git a/scripts/randomtest.loop b/scripts/randomtest.loop
index edfbc5c58..c6d2cdcda 100755
--- a/scripts/randomtest.loop
+++ b/scripts/randomtest.loop
@@ -6,13 +6,18 @@ run_testsuite=true
6run_single_test=false 6run_single_test=false
7run_single_test=true 7run_single_test=true
8 8
9test -d "$1" || { echo "'$1' is not a directory"; exit 1; }
10test -x "$1/scripts/randomtest" || { echo "No scripts/randomtest in '$1'"; exit 1; }
11
12export LIBC="uclibc" 9export LIBC="uclibc"
13export CROSS_COMPILER_PREFIX="i686-" 10export CROSS_COMPILER_PREFIX="i686-"
14export MAKEOPTS="-j9" 11export MAKEOPTS="-j9"
15 12
13test -d "$1" || { echo "'$1' is not a directory"; exit 1; }
14test -x "$1/scripts/randomtest" || { echo "No scripts/randomtest in '$1'"; exit 1; }
15
16test "$SKIP_MOUNT_MAND_TESTS" = "1" || {
17 echo "SKIP_MOUNT_MAND_TESTS not set, some mount tests will fail"
18 echo "if current kernel has CONFIG_MANDATORY_FILE_LOCKING off."
19}
20
16cnt=0 21cnt=0
17fail=0 22fail=0
18while sleep 1; do 23while sleep 1; do