Date: Wed, 31 May 2017 10:27:14 +0000 (UTC) From: Peter Holm <pho@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r319313 - user/pho/stress2/misc Message-ID: <201705311027.v4VAREYq065799@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pho Date: Wed May 31 10:27:14 2017 New Revision: 319313 URL: https://svnweb.freebsd.org/changeset/base/319313 Log: Added timeout. Sponsored by: Dell EMC Isilon Modified: user/pho/stress2/misc/callout_reset_on.sh Modified: user/pho/stress2/misc/callout_reset_on.sh ============================================================================== --- user/pho/stress2/misc/callout_reset_on.sh Wed May 31 10:01:15 2017 (r319312) +++ user/pho/stress2/misc/callout_reset_on.sh Wed May 31 10:27:14 2017 (r319313) @@ -319,6 +319,7 @@ rm -f /tmp/crlogger.c N=200 cd /tmp +start=`date '+%s'` for i in `jot 40`; do for j in `jot $N`; do /tmp/crwriter | /tmp/crlogger 1236$j 2>/dev/null & @@ -327,5 +328,7 @@ for i in `jot 40`; do for j in `jot $N`; do wait done + [ $((`date '+%s'` - start)) -gt 1800 ] && break done rm -f /tmp/crwriter /tmp/crlogger ./barrier.* +exit 0
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705311027.v4VAREYq065799>