stress2: Added a timeout

This commit is contained in:
Peter Holm 2022-06-21 10:20:43 +02:00
parent 0ba1d86082
commit f2deb5e40c

View File

@ -51,7 +51,8 @@ chmod 777 $mntpoint
export runRUNTIME=10m
export RUNDIR=$mntpoint/stressX
su $testuser -c 'cd ..; ./run.sh marcus.cfg'
timeout 11m \
su $testuser -c 'cd ..; ./run.sh marcus.cfg'
while mount | grep "on $mntpoint " | grep -q /dev/md; do
umount $mntpoint || sleep 1