diff options
author | Peter Holm <pho@FreeBSD.org> | 2022-06-17 03:42:52 +0000 |
---|---|---|
committer | Peter Holm <pho@FreeBSD.org> | 2022-06-17 03:42:52 +0000 |
commit | 608c97bff921c8936eb71f4b1a177625cfa60250 (patch) | |
tree | 578818fd7e78270e55bc67fe7131e640b6a69cdc /tools/test/stress2/misc/exlock.sh | |
parent | c692ea4026598b6869393c8379ba941348e74cbe (diff) | |
download | src-608c97bff921c8936eb71f4b1a177625cfa60250.tar.gz src-608c97bff921c8936eb71f4b1a177625cfa60250.zip |
Diffstat (limited to 'tools/test/stress2/misc/exlock.sh')
-rwxr-xr-x | tools/test/stress2/misc/exlock.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/test/stress2/misc/exlock.sh b/tools/test/stress2/misc/exlock.sh index 6e88f9437177..7369f6fe3834 100755 --- a/tools/test/stress2/misc/exlock.sh +++ b/tools/test/stress2/misc/exlock.sh @@ -43,9 +43,8 @@ mount | grep $mntpoint | grep -q /dev/md && umount -f $mntpoint mdconfig -l | grep -q md$mdstart && mdconfig -d -u $mdstart mdconfig -a -t swap -s 2g -u $mdstart || exit 1 -bsdlabel -w md$mdstart auto -newfs $newfs_flags md${mdstart}$part > /dev/null -mount /dev/md${mdstart}$part $mntpoint +newfs $newfs_flags md$mdstart > /dev/null +mount /dev/md$mdstart $mntpoint chmod 777 $mntpoint su $testuser -c "cd $mntpoint; /tmp/exlock" |