diff options
-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 |