From owner-svn-src-user@freebsd.org Wed May 31 10:27:15 2017 Return-Path: Delivered-To: svn-src-user@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7781BAFC690 for ; Wed, 31 May 2017 10:27:15 +0000 (UTC) (envelope-from pho@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48AD2726B1; Wed, 31 May 2017 10:27:15 +0000 (UTC) (envelope-from pho@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v4VAREHq065800; Wed, 31 May 2017 10:27:14 GMT (envelope-from pho@FreeBSD.org) Received: (from pho@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v4VAREYq065799; Wed, 31 May 2017 10:27:14 GMT (envelope-from pho@FreeBSD.org) Message-Id: <201705311027.v4VAREYq065799@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pho set sender to pho@FreeBSD.org using -f From: Peter Holm Date: Wed, 31 May 2017 10:27:14 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r319313 - user/pho/stress2/misc X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 May 2017 10:27:15 -0000 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