aboutsummaryrefslogtreecommitdiff
path: root/testsuite/mount.tests
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-05-11 03:53:57 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-05-11 03:53:57 +0200
commitbfa1b2e8e8aaddcf849011a12cb2ac634b27f339 (patch)
tree4a5fbaef1371fb8b2ca504e753fa2a31d25234d4 /testsuite/mount.tests
parent6334390aef2eb52cc827a6d18f942b2b8a04ef59 (diff)
downloadbusybox-bfa1b2e8e8aaddcf849011a12cb2ac634b27f339.tar.gz
randomtest fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite/mount.tests')
-rwxr-xr-xtestsuite/mount.tests15
1 files changed, 9 insertions, 6 deletions
diff --git a/testsuite/mount.tests b/testsuite/mount.tests
index 043586f05..ee13ec285 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