svn commit: r219266 - head/tools/regression/acltools
Edward Tomasz Napierala
trasz at FreeBSD.org
Fri Mar 4 17:07:03 UTC 2011
Author: trasz
Date: Fri Mar 4 17:07:02 2011
New Revision: 219266
URL: http://svn.freebsd.org/changeset/base/219266
Log:
Make ACL tests slightly easier to run.
Modified:
head/tools/regression/acltools/00.t
head/tools/regression/acltools/01.t
head/tools/regression/acltools/02.t
head/tools/regression/acltools/03.t
Modified: head/tools/regression/acltools/00.t
==============================================================================
--- head/tools/regression/acltools/00.t Fri Mar 4 12:42:40 2011 (r219265)
+++ head/tools/regression/acltools/00.t Fri Mar 4 17:07:02 2011 (r219266)
@@ -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`
Modified: head/tools/regression/acltools/01.t
==============================================================================
--- head/tools/regression/acltools/01.t Fri Mar 4 12:42:40 2011 (r219265)
+++ head/tools/regression/acltools/01.t Fri Mar 4 17:07:02 2011 (r219266)
@@ -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`
Modified: head/tools/regression/acltools/02.t
==============================================================================
--- head/tools/regression/acltools/02.t Fri Mar 4 12:42:40 2011 (r219265)
+++ head/tools/regression/acltools/02.t Fri Mar 4 17:07:02 2011 (r219266)
@@ -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`
Modified: head/tools/regression/acltools/03.t
==============================================================================
--- head/tools/regression/acltools/03.t Fri Mar 4 12:42:40 2011 (r219265)
+++ head/tools/regression/acltools/03.t Fri Mar 4 17:07:02 2011 (r219266)
@@ -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.
More information about the svn-src-head
mailing list