Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2021-08-16 21:03:07 +0300
committerDenys Vlasenko <vda.linux@googlemail.com>2021-08-16 21:03:07 +0300
commit540aa116615713ad53e5ac98850993162e27c32d (patch)
tree79f277b6dbad184217f4d862bd80dc4035620b09
parent9ba502456f92160af4caebe06b96077f2021b3ac (diff)
scripts/randomtest.loop: let user know about SKIP_MOUNT_MAND_TESTS
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rwxr-xr-xscripts/randomtest.loop11
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
run_single_test=false
run_single_test=true
-test -d "$1" || { echo "'$1' is not a directory"; exit 1; }
-test -x "$1/scripts/randomtest" || { echo "No scripts/randomtest in '$1'"; exit 1; }
-
export LIBC="uclibc"
export CROSS_COMPILER_PREFIX="i686-"
export MAKEOPTS="-j9"
+test -d "$1" || { echo "'$1' is not a directory"; exit 1; }
+test -x "$1/scripts/randomtest" || { echo "No scripts/randomtest in '$1'"; exit 1; }
+
+test "$SKIP_MOUNT_MAND_TESTS" = "1" || {
+ echo "SKIP_MOUNT_MAND_TESTS not set, some mount tests will fail"
+ echo "if current kernel has CONFIG_MANDATORY_FILE_LOCKING off."
+}
+
cnt=0
fail=0
while sleep 1; do