Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Mar 2015 11:38:43 +0000 (UTC)
From:      Peter Holm <pho@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r279844 - user/pho/stress2/misc
Message-ID:  <201503101138.t2ABchZo068136@svn.freebsd.org>

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



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