Make ACL tests slightly easier to run.

This commit is contained in:
Edward Tomasz Napierala 2011-03-04 17:07:02 +00:00
parent d783bbd2d2
commit b5b5b80711
4 changed files with 5 additions and 5 deletions

View File

@ -44,7 +44,7 @@ if [ `whoami` != "root" ]; then
exit 1
fi
TESTDIR=`dirname $0`
TESTDIR=$(dirname $(realpath $0))
# Set up the test filesystem.
MD=`mdconfig -at swap -s 10m`

View File

@ -46,7 +46,7 @@ if [ `whoami` != "root" ]; then
exit 1
fi
TESTDIR=`dirname $0`
TESTDIR=$(dirname $(realpath $0))
# Set up the test filesystem.
MD=`mdconfig -at swap -s 64m`

View File

@ -27,7 +27,7 @@
# $FreeBSD$
#
# This is a wrapper script to run tools-nfs4.test.
# This is a wrapper script to run tools-nfs4.test on UFS filesystem.
#
# If any of the tests fails, here is how to debug it: go to
# the directory with problematic filesystem mounted on it,
@ -44,7 +44,7 @@ if [ `whoami` != "root" ]; then
exit 1
fi
TESTDIR=`dirname $0`
TESTDIR=$(dirname $(realpath $0))
# Set up the test filesystem.
MD=`mdconfig -at swap -s 10m`

View File

@ -41,7 +41,7 @@ if [ `whoami` != "root" ]; then
exit 1
fi
TESTDIR=`dirname $0`
TESTDIR=$(dirname $(realpath $0))
MNTROOT=`mktemp -dt acltools`
# Set up the test filesystems.