diff options
Diffstat (limited to 'tools/test/stress2/misc/getrandom.sh')
-rwxr-xr-x | tools/test/stress2/misc/getrandom.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/test/stress2/misc/getrandom.sh b/tools/test/stress2/misc/getrandom.sh index fe30a688decb..3b2de3ec2a7a 100755 --- a/tools/test/stress2/misc/getrandom.sh +++ b/tools/test/stress2/misc/getrandom.sh @@ -46,9 +46,8 @@ set -e mount | grep "on $mntpoint " | grep -q /dev/md && umount -f $mntpoint [ -c /dev/md$mdstart ] && mdconfig -d -u $mdstart mdconfig -a -t swap -s 2g -u $mdstart -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 set +e (cd $odir/../testcases/swap; ./swap -t 5m -i 40 -l 100) & |