diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2021-08-16 20:03:07 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2021-08-16 20:03:07 +0200 |
commit | 540aa116615713ad53e5ac98850993162e27c32d (patch) | |
tree | 79f277b6dbad184217f4d862bd80dc4035620b09 | |
parent | 9ba502456f92160af4caebe06b96077f2021b3ac (diff) | |
download | busybox-w32-540aa116615713ad53e5ac98850993162e27c32d.tar.gz busybox-w32-540aa116615713ad53e5ac98850993162e27c32d.tar.bz2 busybox-w32-540aa116615713ad53e5ac98850993162e27c32d.zip |
scripts/randomtest.loop: let user know about SKIP_MOUNT_MAND_TESTS
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rwxr-xr-x | scripts/randomtest.loop | 11 |
1 files changed, 8 insertions, 3 deletions
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 | |||
6 | run_single_test=false | 6 | run_single_test=false |
7 | run_single_test=true | 7 | run_single_test=true |
8 | 8 | ||
9 | test -d "$1" || { echo "'$1' is not a directory"; exit 1; } | ||
10 | test -x "$1/scripts/randomtest" || { echo "No scripts/randomtest in '$1'"; exit 1; } | ||
11 | |||
12 | export LIBC="uclibc" | 9 | export LIBC="uclibc" |
13 | export CROSS_COMPILER_PREFIX="i686-" | 10 | export CROSS_COMPILER_PREFIX="i686-" |
14 | export MAKEOPTS="-j9" | 11 | export MAKEOPTS="-j9" |
15 | 12 | ||
13 | test -d "$1" || { echo "'$1' is not a directory"; exit 1; } | ||
14 | test -x "$1/scripts/randomtest" || { echo "No scripts/randomtest in '$1'"; exit 1; } | ||
15 | |||
16 | test "$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 | |||
16 | cnt=0 | 21 | cnt=0 |
17 | fail=0 | 22 | fail=0 |
18 | while sleep 1; do | 23 | while sleep 1; do |