randomtest fixes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2010-05-11 03:53:57 +02:00
parent 6334390aef
commit bfa1b2e8e8
31 changed files with 123 additions and 61 deletions

View File

@@ -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