git: ddd74e40e27d - main - stress2: Added missing unmount
Peter Holm
pho at FreeBSD.org
Mon Sep 13 08:57:13 UTC 2021
The branch main has been updated by pho:
URL: https://cgit.FreeBSD.org/src/commit/?id=ddd74e40e27db29494e9591b837c2a01b543ef80
commit ddd74e40e27db29494e9591b837c2a01b543ef80
Author: Peter Holm <pho at FreeBSD.org>
AuthorDate: 2021-09-13 08:55:19 +0000
Commit: Peter Holm <pho at FreeBSD.org>
CommitDate: 2021-09-13 08:55:19 +0000
stress2: Added missing unmount
---
tools/test/stress2/misc/unionfs.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tools/test/stress2/misc/unionfs.sh b/tools/test/stress2/misc/unionfs.sh
index dbf3ba0fbc2e..6e04e809b501 100755
--- a/tools/test/stress2/misc/unionfs.sh
+++ b/tools/test/stress2/misc/unionfs.sh
@@ -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
More information about the dev-commits-src-all
mailing list