svn commit: r357721 - user/pho/stress2/misc
Peter Holm
pho at FreeBSD.org
Mon Feb 10 08:55:46 UTC 2020
Author: pho
Date: Mon Feb 10 08:55:45 2020
New Revision: 357721
URL: https://svnweb.freebsd.org/changeset/base/357721
Log:
Limit run time.
Modified:
user/pho/stress2/misc/snap5.sh
Modified: user/pho/stress2/misc/snap5.sh
==============================================================================
--- user/pho/stress2/misc/snap5.sh Mon Feb 10 08:55:11 2020 (r357720)
+++ user/pho/stress2/misc/snap5.sh Mon Feb 10 08:55:45 2020 (r357721)
@@ -41,7 +41,7 @@ rm -f /tmp/.snap/stress2
trap "rm -f /tmp/.snap/stress2" 0
start=`date '+%s'`
-while [ `date '+%s'` -lt $((start + 1800)) ]; do
+while [ `date '+%s'` -lt $((start + 1200)) ]; do
date '+%T'
mksnap_ffs /tmp /tmp/.snap/stress2
mdconfig -a -t vnode -f /tmp/.snap/stress2 -u $mdstart -o readonly
More information about the svn-src-user
mailing list