Fix ACL tests to correctly work with ZFS; previous version used wrong

paths.

PR:		191545
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Edward Tomasz Napierala 2014-09-12 09:50:32 +00:00
parent 450cecf0a0
commit a3507e3bc8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=271459
3 changed files with 3 additions and 3 deletions

View File

@ -51,7 +51,7 @@ TESTDIR=$(dirname $(realpath $0))
# Set up the test filesystem.
MD=`mdconfig -at swap -s 64m`
MNT=`mktemp -dt acltools`
zpool create -R $MNT acltools /dev/$MD
zpool create -m $MNT acltools /dev/$MD
if [ $? -ne 0 ]; then
echo "not ok 1 - 'zpool create' failed."
exit 1

View File

@ -48,7 +48,7 @@ MNTROOT=`mktemp -dt acltools`
MD1=`mdconfig -at swap -s 64m`
MNT1=$MNTROOT/nfs4
mkdir $MNT1
zpool create -R $MNT1 acltools /dev/$MD1
zpool create -m $MNT1 acltools /dev/$MD1
if [ $? -ne 0 ]; then
echo "not ok 1 - 'zpool create' failed."
exit 1

View File

@ -43,7 +43,7 @@ TESTDIR=$(dirname $(realpath $0))
# Set up the test filesystem.
MD=`mdconfig -at swap -s 64m`
MNT=`mktemp -dt acltools`
zpool create -R $MNT acltools /dev/$MD
zpool create -m $MNT acltools /dev/$MD
if [ $? -ne 0 ]; then
echo "not ok 1 - 'zpool create' failed."
exit 1