diff options
Diffstat (limited to 'tools/test/stress2/misc/devfd.sh')
-rwxr-xr-x | tools/test/stress2/misc/devfd.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/test/stress2/misc/devfd.sh b/tools/test/stress2/misc/devfd.sh index 1f5eecece0ca..a1ff329cda1c 100755 --- a/tools/test/stress2/misc/devfd.sh +++ b/tools/test/stress2/misc/devfd.sh @@ -47,9 +47,8 @@ mount | grep $mntpoint | grep -q /dev/md && umount -f $mntpoint mdconfig -l | grep -q md$mdstart && mdconfig -d -u $mdstart mdconfig -a -t swap -s 1g -u $mdstart || exit 1 -bsdlabel -w md$mdstart auto -newfs $newfs_flags md${mdstart}$part > /dev/null -mount /dev/md${mdstart}$part $mntpoint +newfs $newfs_flags md$mdstart > /dev/null +mount /dev/md$mdstart $mntpoint chmod 777 $mntpoint su $testuser -c "(cd $mntpoint; /tmp/devfd)" |