git: bfdcd042bc8c - main - stress2: Remove the memory disk after the fsck, not before
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 18 Mar 2022 06:29:41 UTC
The branch main has been updated by pho: URL: https://cgit.FreeBSD.org/src/commit/?id=bfdcd042bc8cd9fe5b26a662d3716bed9a9c2483 commit bfdcd042bc8cd9fe5b26a662d3716bed9a9c2483 Author: Peter Holm <pho@FreeBSD.org> AuthorDate: 2022-03-18 06:28:58 +0000 Commit: Peter Holm <pho@FreeBSD.org> CommitDate: 2022-03-18 06:28:58 +0000 stress2: Remove the memory disk after the fsck, not before --- tools/test/stress2/misc/pfl4.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/test/stress2/misc/pfl4.sh b/tools/test/stress2/misc/pfl4.sh index 8128fa1f585c..38520a983d33 100755 --- a/tools/test/stress2/misc/pfl4.sh +++ b/tools/test/stress2/misc/pfl4.sh @@ -86,10 +86,11 @@ for i in `jot $mounts $start`; do mntpoint=${prefix}$i n=0 while mount | grep -q "on $mntpoint "; do - umount $mntpoint && mdconfig -d -u $mdstart || sleep 1 + umount $mntpoint || sleep 1 n=$((n += 1)) [ $n -gt 60 ] && exit 1 done checkfs /dev/md${mdstart}$part || s=$? + mdconfig -d -u $mdstart done exit $s