START	sys/mfs_noperm	2025-03-26T02:45:48Z

==== mount ====
mkdir -p /mnt/regress-mfs_noperm
mount_mfs -s1M -o noperm swap /mnt/regress-mfs_noperm

==== run-regress-locked ====
cc -O2 -pipe  -g  -MD -MP  -c /usr/src/regress/sys/mfs_noperm/nopermtest.c
cc   -o nopermtest nopermtest.o 
chown root:wheel /mnt/regress-mfs_noperm
chmod 700 /mnt/regress-mfs_noperm
su build -c './nopermtest /mnt/regress-mfs_noperm locked'

==== run-regress-unlocked ====
chown build /mnt/regress-mfs_noperm
chmod 700 /mnt/regress-mfs_noperm
su build -c './nopermtest /mnt/regress-mfs_noperm unlocked'

==== umount ====
umount -f /mnt/regress-mfs_noperm || true
rmdir /mnt/regress-mfs_noperm || true

PASS	sys/mfs_noperm	Duration 0m00.43s