Lines Matching +full:ufs +full:- +full:wrapper
28 # This is a wrapper script to run tools-nfs4.test on UFS filesystem.
32 # and do /path/to/test run /path/to/test tools-nfs4.test, e.g.
34 # /usr/src/tools/regression/acltools/run /usr/src/tools/regression/acltools/tools-nfs4.test
38 if [ $(sysctl -n kern.features.ufs_acl 2>/dev/null || echo 0) -eq 0 ]; then
39 echo "1..0 # SKIP system does not have UFS ACL support"
42 if [ $(id -u) -ne 0 ]; then
46 if [ ! -c /dev/mdctl ]; then
56 MD=`mdconfig -at swap -s 10m`
57 MNT=`mktemp -dt acltools`
59 trap "cd /; umount -f $MNT; rmdir $MNT; mdconfig -d -u $MD" EXIT
60 mount -o nfsv4acls /dev/$MD $MNT
61 if [ $? -ne 0 ]; then
62 echo "not ok 1 - mount failed."
74 setfacl -x2 xxx
75 while :; do setfacl -a0 u:42:rwx:allow xxx 2> /dev/null; if [ $? -ne 0 ]; then break; fi; done
80 if [ `sysctl -n vfs.acl_nfs4_old_semantics` = 0 ]; then
81 perl $TESTDIR/run $TESTDIR/tools-nfs4-psarc.test >&2
83 perl $TESTDIR/run $TESTDIR/tools-nfs4.test >&2
86 if [ $? -eq 0 ]; then