Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Feb 2020 08:55:46 +0000 (UTC)
From:      Peter Holm <pho@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r357721 - user/pho/stress2/misc
Message-ID:  <202002100855.01A8tkKk060378@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202002100855.01A8tkKk060378>