From owner-svn-src-user@FreeBSD.ORG Tue Mar 10 11:38:46 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 62292840; Tue, 10 Mar 2015 11:38:46 +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 4DBCCC41; Tue, 10 Mar 2015 11:38:46 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t2ABckh1068159; Tue, 10 Mar 2015 11:38:46 GMT (envelope-from pho@FreeBSD.org) Received: (from pho@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t2ABchZo068136; Tue, 10 Mar 2015 11:38:43 GMT (envelope-from pho@FreeBSD.org) Message-Id: <201503101138.t2ABchZo068136@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: pho set sender to pho@FreeBSD.org using -f From: Peter Holm Date: Tue, 10 Mar 2015 11:38:43 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r279844 - 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: Tue, 10 Mar 2015 11:38:46 -0000 Author: pho Date: Tue Mar 10 11:38:42 2015 New Revision: 279844 URL: https://svnweb.freebsd.org/changeset/base/279844 Log: More whitespace fixes. Sponsored by: EMC / Isilon storage division Modified: user/pho/stress2/misc/core3.sh user/pho/stress2/misc/ext2fs.sh user/pho/stress2/misc/ext2fs2.sh user/pho/stress2/misc/fifo3.sh user/pho/stress2/misc/md6.sh user/pho/stress2/misc/pcatch.sh user/pho/stress2/misc/pthread8.sh user/pho/stress2/misc/sethostname.sh user/pho/stress2/misc/signal.sh user/pho/stress2/misc/socketpair2.sh user/pho/stress2/misc/umountf2.sh Modified: user/pho/stress2/misc/core3.sh ============================================================================== --- user/pho/stress2/misc/core3.sh Tue Mar 10 09:53:15 2015 (r279843) +++ user/pho/stress2/misc/core3.sh Tue Mar 10 11:38:42 2015 (r279844) @@ -64,7 +64,7 @@ done > /dev/null 2>&1 & while pgrep -q core3; do [ -d $mntpoint/d ] || mount /dev/md${mdstart}$part $mntpoint -done > /dev/null 2>&1 +done > /dev/null 2>&1 wait mount | grep -q "on $mntpoint " && umount -f $mntpoint Modified: user/pho/stress2/misc/ext2fs.sh ============================================================================== --- user/pho/stress2/misc/ext2fs.sh Tue Mar 10 09:53:15 2015 (r279843) +++ user/pho/stress2/misc/ext2fs.sh Tue Mar 10 11:38:42 2015 (r279844) @@ -34,7 +34,7 @@ . ../default.cfg -# Uses mke2fs from sysutils/e2fsprogs +# Uses mke2fs from sysutils/e2fsprogs [ -z "`type mke2fs 2>/dev/null`" ] && echo "mke2fs not found" && exit 1 mount | grep "$mntpoint" | grep -q md$mdstart && umount $mntpoint Modified: user/pho/stress2/misc/ext2fs2.sh ============================================================================== --- user/pho/stress2/misc/ext2fs2.sh Tue Mar 10 09:53:15 2015 (r279843) +++ user/pho/stress2/misc/ext2fs2.sh Tue Mar 10 11:38:42 2015 (r279844) @@ -35,7 +35,7 @@ . ../default.cfg -# Uses mke2fs from sysutils/e2fsprogs +# Uses mke2fs from sysutils/e2fsprogs [ -x /usr/local/sbin/mke2fs ] || exit 0 mount | grep "$mntpoint" | grep -q md$mdstart && umount -f ${mntpoint} mdconfig -l | grep -q ${mdstart} && mdconfig -d -u $mdstart Modified: user/pho/stress2/misc/fifo3.sh ============================================================================== --- user/pho/stress2/misc/fifo3.sh Tue Mar 10 09:53:15 2015 (r279843) +++ user/pho/stress2/misc/fifo3.sh Tue Mar 10 11:38:42 2015 (r279844) @@ -62,8 +62,8 @@ # #3 0x0000000000400ee9 in test () at /tmp/fifo.c:86 # 86 while ((p = fts_read(fts)) != NULL) { # Current language: auto; currently minimal -# (gdb) -# +# (gdb) +# . ../default.cfg Modified: user/pho/stress2/misc/md6.sh ============================================================================== --- user/pho/stress2/misc/md6.sh Tue Mar 10 09:53:15 2015 (r279843) +++ user/pho/stress2/misc/md6.sh Tue Mar 10 11:38:42 2015 (r279844) @@ -29,7 +29,7 @@ # # Regression test for mmap problem introduced by r271635 -# where mdconfig -l fails due to +# where mdconfig -l fails due to # mmap(0,0x1000,PROT_READ,MAP_FILE,0x4,0) # returning 0. # Fixed by r271721. Modified: user/pho/stress2/misc/pcatch.sh ============================================================================== --- user/pho/stress2/misc/pcatch.sh Tue Mar 10 09:53:15 2015 (r279843) +++ user/pho/stress2/misc/pcatch.sh Tue Mar 10 11:38:42 2015 (r279844) @@ -118,7 +118,7 @@ test(char *mp) err(1, "sigaction"); snprintf(file, sizeof(file), "%s/file", mp); - if ((fd = open(file, O_RDWR | O_CREAT | O_TRUNC, 0640)) == -1) + if ((fd = open(file, O_RDWR | O_CREAT | O_TRUNC, 0640)) == -1) err(1, "open(%s). %s:%d", file, __FILE__, __LINE__); suspend(mp); Modified: user/pho/stress2/misc/pthread8.sh ============================================================================== --- user/pho/stress2/misc/pthread8.sh Tue Mar 10 09:53:15 2015 (r279843) +++ user/pho/stress2/misc/pthread8.sh Tue Mar 10 11:38:42 2015 (r279844) @@ -132,7 +132,7 @@ main(void) while (time(NULL) - start < 180) sleep(1); stop = 1; - for (i = 0; i < ncpus; i++) + for (i = 0; i < ncpus; i++) pthread_join(threads[i], NULL); return (0); Modified: user/pho/stress2/misc/sethostname.sh ============================================================================== --- user/pho/stress2/misc/sethostname.sh Tue Mar 10 09:53:15 2015 (r279843) +++ user/pho/stress2/misc/sethostname.sh Tue Mar 10 11:38:42 2015 (r279844) @@ -35,4 +35,4 @@ [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 export sleeptime=18 -./syscall4.sh 88 # 88 is old sethostname +./syscall4.sh 88 # 88 is old sethostname Modified: user/pho/stress2/misc/signal.sh ============================================================================== --- user/pho/stress2/misc/signal.sh Tue Mar 10 09:53:15 2015 (r279843) +++ user/pho/stress2/misc/signal.sh Tue Mar 10 11:38:42 2015 (r279844) @@ -233,4 +233,4 @@ fi kill $fifopid $gdbpid > /dev/null 2>&1 ps | grep -v grep | grep waitthread | awk '{print $1}' | xargs kill cd $here -rm -rf $wd /tmp/waitthread +rm -rf $wd /tmp/waitthread Modified: user/pho/stress2/misc/socketpair2.sh ============================================================================== --- user/pho/stress2/misc/socketpair2.sh Tue Mar 10 09:53:15 2015 (r279843) +++ user/pho/stress2/misc/socketpair2.sh Tue Mar 10 11:38:42 2015 (r279844) @@ -54,7 +54,7 @@ EOF Some systems seem to base how much can be written to the pipe based on the size of the socket receive buffer (read-side), while others on the size of the socket send buffer (send-side). - + This little hack tries to make an educated guess as to what is the case on this particular system. */ Modified: user/pho/stress2/misc/umountf2.sh ============================================================================== --- user/pho/stress2/misc/umountf2.sh Tue Mar 10 09:53:15 2015 (r279843) +++ user/pho/stress2/misc/umountf2.sh Tue Mar 10 11:38:42 2015 (r279844) @@ -586,7 +586,7 @@ check_eofpage(char *s, unsigned offset, return; /* * we landed in the last page of the file - * test to make sure the VM system provided 0's + * test to make sure the VM system provided 0's * beyond the true end of the file mapping * (as required by mmap def in 1996 posix 1003.1) */ @@ -1286,7 +1286,7 @@ main(int argc, char **argv) (unsigned)written, maxfilelen); exit(98); } - } else + } else check_trunc_hack(); while (numops == -1 || numops--)