From owner-svn-src-user@FreeBSD.ORG Sat Feb 21 15:15:17 2015 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 937201AE; Sat, 21 Feb 2015 15:15:17 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::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 7EEF6FC4; Sat, 21 Feb 2015 15:15:17 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t1LFFH8W005160; Sat, 21 Feb 2015 15:15:17 GMT (envelope-from pho@FreeBSD.org) Received: (from pho@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t1LFFHiX005158; Sat, 21 Feb 2015 15:15:17 GMT (envelope-from pho@FreeBSD.org) Message-Id: <201502211515.t1LFFHiX005158@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: pho set sender to pho@FreeBSD.org using -f From: Peter Holm Date: Sat, 21 Feb 2015 15:15:17 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r279105 - 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.18-1 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: Sat, 21 Feb 2015 15:15:17 -0000 Author: pho Date: Sat Feb 21 15:15:16 2015 New Revision: 279105 URL: https://svnweb.freebsd.org/changeset/base/279105 Log: Use /tmp as working directory. Sponsored by: EMC / Isilon storage division Modified: user/pho/stress2/misc/callout_reset_on.sh user/pho/stress2/misc/signal.sh Modified: user/pho/stress2/misc/callout_reset_on.sh ============================================================================== --- user/pho/stress2/misc/callout_reset_on.sh Sat Feb 21 15:02:27 2015 (r279104) +++ user/pho/stress2/misc/callout_reset_on.sh Sat Feb 21 15:15:16 2015 (r279105) @@ -311,6 +311,7 @@ mycc -o /tmp/crlogger -Wall -Wextra -O2 rm -f /tmp/crlogger.c N=200 +cd /tmp for i in `jot 40`; do for j in `jot $N`; do /tmp/crwriter | /tmp/crlogger 1236$j 2>/dev/null & Modified: user/pho/stress2/misc/signal.sh ============================================================================== --- user/pho/stress2/misc/signal.sh Sat Feb 21 15:02:27 2015 (r279104) +++ user/pho/stress2/misc/signal.sh Sat Feb 21 15:15:16 2015 (r279105) @@ -36,6 +36,11 @@ . ../default.cfg +here=`pwd` +wd=/tmp/signal.dir +rm -rf $wd +mkdir -p $wd +cd $wd cat > waitthread.c < #include @@ -226,5 +231,6 @@ else fi kill $fifopid $gdbpid > /dev/null 2>&1 -rm -f gdbfifo gdbout pstat waitthread tkill /tmp/waitthread ps | grep -v grep | grep waitthread | awk '{print $1}' | xargs kill +cd $here +rm -rf $wd /tmp/waitthread