summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2011-03-04 17:07:02 +0000
committertrasz <trasz@FreeBSD.org>2011-03-04 17:07:02 +0000
commit501918bbcb7c01f6274094f4e70c4c2c14d2b2cf (patch)
treed292541ec71d5ee14ac018f68e82a5780691e1ea
parentb66d64d4366918081e196451e7114f03690adb87 (diff)
downloadFreeBSD-src-501918bbcb7c01f6274094f4e70c4c2c14d2b2cf.zip
FreeBSD-src-501918bbcb7c01f6274094f4e70c4c2c14d2b2cf.tar.gz
Make ACL tests slightly easier to run.
-rw-r--r--tools/regression/acltools/00.t2
-rw-r--r--tools/regression/acltools/01.t2
-rw-r--r--tools/regression/acltools/02.t4
-rw-r--r--tools/regression/acltools/03.t2
4 files changed, 5 insertions, 5 deletions
diff --git a/tools/regression/acltools/00.t b/tools/regression/acltools/00.t
index 1f91de3..8899088 100644
--- a/tools/regression/acltools/00.t
+++ b/tools/regression/acltools/00.t
@@ -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`
diff --git a/tools/regression/acltools/01.t b/tools/regression/acltools/01.t
index 1f99682..edbc7b7 100644
--- a/tools/regression/acltools/01.t
+++ b/tools/regression/acltools/01.t
@@ -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`
diff --git a/tools/regression/acltools/02.t b/tools/regression/acltools/02.t
index aeef8dc..92dfe55 100644
--- a/tools/regression/acltools/02.t
+++ b/tools/regression/acltools/02.t
@@ -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`
diff --git a/tools/regression/acltools/03.t b/tools/regression/acltools/03.t
index 8e56af5..a577b7a 100644
--- a/tools/regression/acltools/03.t
+++ b/tools/regression/acltools/03.t
@@ -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.
OpenPOWER on IntegriCloud