git: f2deb5e40c92 - main - stress2: Added a timeout
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 Jun 2022 08:21:05 UTC
The branch main has been updated by pho:
URL: https://cgit.FreeBSD.org/src/commit/?id=f2deb5e40c92e0747a0e29c2869cef8a6863be0e
commit f2deb5e40c92e0747a0e29c2869cef8a6863be0e
Author: Peter Holm <pho@FreeBSD.org>
AuthorDate: 2022-06-21 08:20:43 +0000
Commit: Peter Holm <pho@FreeBSD.org>
CommitDate: 2022-06-21 08:20:43 +0000
stress2: Added a timeout
---
tools/test/stress2/misc/overcommit.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tools/test/stress2/misc/overcommit.sh b/tools/test/stress2/misc/overcommit.sh
index 319cd1ee2192..a5de8e214b18 100755
--- a/tools/test/stress2/misc/overcommit.sh
+++ b/tools/test/stress2/misc/overcommit.sh
@@ -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