stress2: Added missing unmount

This commit is contained in:
Peter Holm 2021-09-13 08:55:19 +00:00
parent d00c1f7f2f
commit ddd74e40e2

View File

@ -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