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:
parent
450cecf0a0
commit
a3507e3bc8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=271459
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user