diff options
author | Denys Vlasenko | 2010-05-11 03:53:57 +0200 |
---|---|---|
committer | Denys Vlasenko | 2010-05-11 03:53:57 +0200 |
commit | bfa1b2e8e8aaddcf849011a12cb2ac634b27f339 (patch) | |
tree | 4a5fbaef1371fb8b2ca504e753fa2a31d25234d4 /testsuite/mount.tests | |
parent | 6334390aef2eb52cc827a6d18f942b2b8a04ef59 (diff) | |
download | busybox-bfa1b2e8e8aaddcf849011a12cb2ac634b27f339.zip busybox-bfa1b2e8e8aaddcf849011a12cb2ac634b27f339.tar.gz |
randomtest fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite/mount.tests')
-rwxr-xr-x | testsuite/mount.tests | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/testsuite/mount.tests b/testsuite/mount.tests index 043586f..ee13ec2 100755 --- a/testsuite/mount.tests +++ b/testsuite/mount.tests @@ -4,16 +4,19 @@ . ./testing.sh +test -f "$bindir/.config" && . "$bindir/.config" + test "`id -u`" = 0 || { - echo "SKIPPED: must be root to test this" + echo "SKIPPED: mount (must be root to test this)" exit 0 } -optional MKFS_MINIX -if [ -n "$SKIP" ] -then - echo "SKIPPED: mount" - exit 0 +if test x"$CONFIG_MKFS_MINIX" != x"y" \ +|| test x"$CONFIG_FEATURE_MINIX2" != x"y" \ +|| test x"$CONFIG_FEATURE_DEVFS" = x"y" \ +; then + echo "SKIPPED: mount" + exit 0 fi testdir=$PWD/testdir |