Date: Mon, 13 Sep 2021 08:57:13 GMT From: Peter Holm <pho@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: ddd74e40e27d - main - stress2: Added missing unmount Message-ID: <202109130857.18D8vDnb079373@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by pho: URL: https://cgit.FreeBSD.org/src/commit/?id=ddd74e40e27db29494e9591b837c2a01b543ef80 commit ddd74e40e27db29494e9591b837c2a01b543ef80 Author: Peter Holm <pho@FreeBSD.org> AuthorDate: 2021-09-13 08:55:19 +0000 Commit: Peter Holm <pho@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109130857.18D8vDnb079373>