aboutsummaryrefslogtreecommitdiff
path: root/tools/test/stress2/misc/umount.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/test/stress2/misc/umount.sh')
-rwxr-xr-xtools/test/stress2/misc/umount.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/tools/test/stress2/misc/umount.sh b/tools/test/stress2/misc/umount.sh
index 8ec0351cda31..b610a567e873 100755
--- a/tools/test/stress2/misc/umount.sh
+++ b/tools/test/stress2/misc/umount.sh
@@ -35,13 +35,12 @@
D=$diskimage
dd if=/dev/zero of=$D bs=1m count=110 status=none || exit 1
-mount | grep "$mntpoint" | grep md${mdstart}$part > /dev/null && umount $mntpoint
+mount | grep "$mntpoint" | grep md$mdstart > /dev/null && umount $mntpoint
mdconfig -l | grep md$mdstart > /dev/null && mdconfig -d -u $mdstart
mdconfig -a -t vnode -f $D -u $mdstart
-bsdlabel -w md$mdstart auto
-newfs md${mdstart}$part > /dev/null
-mount /dev/md${mdstart}$part $mntpoint
+newfs md$mdstart > /dev/null
+mount /dev/md$mdstart $mntpoint
export RUNDIR=$mntpoint/stressX
export runRUNTIME=3m # Run tests for three minutes
(cd ..; ./run.sh vfs.cfg)