Skip to content

Commit

Permalink
stress2: Added missing unmount
Browse files Browse the repository at this point in the history
  • Loading branch information
phoatfreebsd committed Sep 13, 2021
1 parent d00c1f7 commit ddd74e4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/test/stress2/misc/unionfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,10 @@ mount -t unionfs -o noatime $mntpoint /tmp
export RUNDIR=/tmp/stressX
export runRUNTIME=10m # Run tests for 10 minutes
(cd ..; ./run.sh disk.cfg)
umount /tmp
while mount | grep $mntpoint | grep -q /dev/md; do
umount $mntpoint || sleep 1
done
mdconfig -d -u $mdstart
rm -f $diskimage
exit 0

0 comments on commit ddd74e4

Please sign in to comment.