svn commit: r279167 - user/pho/stress2/misc
Peter Holm
pho at FreeBSD.org
Sun Feb 22 17:45:15 UTC 2015
Author: pho
Date: Sun Feb 22 17:45:09 2015
New Revision: 279167
URL: https://svnweb.freebsd.org/changeset/base/279167
Log:
Remove trailing whitespace.
Sponsored by: EMC / Isilon storage division
Modified:
user/pho/stress2/misc/extattrctl.sh
user/pho/stress2/misc/f_offset.sh
user/pho/stress2/misc/fdescfs.sh
user/pho/stress2/misc/ldt2.sh
user/pho/stress2/misc/lookup_shared.sh
user/pho/stress2/misc/md4.sh
user/pho/stress2/misc/mount.sh
user/pho/stress2/misc/mountro.sh
user/pho/stress2/misc/mountro2.sh
user/pho/stress2/misc/newfs.sh
user/pho/stress2/misc/nfs5.sh
user/pho/stress2/misc/nullfs10.sh
user/pho/stress2/misc/nullfs2.sh
user/pho/stress2/misc/nullfs7.sh
user/pho/stress2/misc/suj34.sh
user/pho/stress2/misc/swappedout.sh
user/pho/stress2/misc/umount.sh
Modified: user/pho/stress2/misc/extattrctl.sh
==============================================================================
--- user/pho/stress2/misc/extattrctl.sh Sun Feb 22 16:28:24 2015 (r279166)
+++ user/pho/stress2/misc/extattrctl.sh Sun Feb 22 17:45:09 2015 (r279167)
@@ -32,7 +32,7 @@
# Kernel must be compiled with options UFS_EXTATTR and UFS_EXTATTR_AUTOSTART
# Scenario by rwatson@ from:
-#
+#
# Newsgroups: lucky.freebsd.current
# Subject: Re: setfacl requirements?
# Date: Thu, 5 Dec 2002 15:50:02 +0000 (UTC)
Modified: user/pho/stress2/misc/f_offset.sh
==============================================================================
--- user/pho/stress2/misc/f_offset.sh Sun Feb 22 16:28:24 2015 (r279166)
+++ user/pho/stress2/misc/f_offset.sh Sun Feb 22 17:45:09 2015 (r279167)
@@ -28,7 +28,7 @@
# $FreeBSD$
#
-# Problem seen with atomic assingment of f_offset. Fixed in r238029.
+# Problem seen with atomic assignment of f_offset. Fixed in r238029.
# Test scenario by kib@
Modified: user/pho/stress2/misc/fdescfs.sh
==============================================================================
--- user/pho/stress2/misc/fdescfs.sh Sun Feb 22 16:28:24 2015 (r279166)
+++ user/pho/stress2/misc/fdescfs.sh Sun Feb 22 17:45:09 2015 (r279167)
@@ -28,7 +28,7 @@
# $FreeBSD$
#
-#
+#
[ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1
Modified: user/pho/stress2/misc/ldt2.sh
==============================================================================
--- user/pho/stress2/misc/ldt2.sh Sun Feb 22 16:28:24 2015 (r279166)
+++ user/pho/stress2/misc/ldt2.sh Sun Feb 22 17:45:09 2015 (r279167)
@@ -55,7 +55,7 @@ mkdir -p $jail
cd /var/tmp/deviant2 # You will need to change this!
make -j4 TARGET=i386 TARGET_ARCH=i386 DESTDIR=$jail world
-make TARGET=i386 TARGET_ARCH=i386 DESTDIR=$jail distribution
+make TARGET=i386 TARGET_ARCH=i386 DESTDIR=$jail distribution
mount -t devfs devfs $jail/dev
Modified: user/pho/stress2/misc/lookup_shared.sh
==============================================================================
--- user/pho/stress2/misc/lookup_shared.sh Sun Feb 22 16:28:24 2015 (r279166)
+++ user/pho/stress2/misc/lookup_shared.sh Sun Feb 22 17:45:09 2015 (r279167)
@@ -35,7 +35,7 @@ saved=`sysctl vfs.lookup_shared | awk '{
export runRUNTIME=10m # Run tests for 10 minutes
for i in 1 0; do
sysctl vfs.lookup_shared=$i
- (cd ..; ./run.sh disk.cfg)
+ (cd ..; ./run.sh disk.cfg)
done
-sysctl vfs.lookup_shared=$saved
+sysctl vfs.lookup_shared=$saved
Modified: user/pho/stress2/misc/md4.sh
==============================================================================
--- user/pho/stress2/misc/md4.sh Sun Feb 22 16:28:24 2015 (r279166)
+++ user/pho/stress2/misc/md4.sh Sun Feb 22 17:45:09 2015 (r279167)
@@ -40,7 +40,7 @@ fdisk -I md$MD_DEV > /dev/null 2>&1
bsdlabel -w -B md${MD_DEV}s1 || exit 1
dd if=/dev/md$MD_DEV of=/dev/null bs=64k 2>&1 |
egrep -v "records|transferred"
-bsdlabel md${MD_DEV}s1 > /dev/null ||
+bsdlabel md${MD_DEV}s1 > /dev/null ||
{ echo FAIL; status=1; }
mdconfig -d -u $MD_DEV
exit $status
Modified: user/pho/stress2/misc/mount.sh
==============================================================================
--- user/pho/stress2/misc/mount.sh Sun Feb 22 16:28:24 2015 (r279166)
+++ user/pho/stress2/misc/mount.sh Sun Feb 22 17:45:09 2015 (r279167)
@@ -33,7 +33,7 @@
# cpuid = 1
# KDB: enter: panic
# [thread pid 69453 tid 100388 ]
-# Stopped at kdb_enter+0x2b: nop
+# Stopped at kdb_enter+0x2b: nop
# db> where
# Tracing pid 69453 tid 100388 td 0xc4b5c1b0
# kdb_enter(c091d9db) at kdb_enter+0x2b
Modified: user/pho/stress2/misc/mountro.sh
==============================================================================
--- user/pho/stress2/misc/mountro.sh Sun Feb 22 16:28:24 2015 (r279166)
+++ user/pho/stress2/misc/mountro.sh Sun Feb 22 17:45:09 2015 (r279167)
@@ -34,7 +34,7 @@
[ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1
D=$diskimage
-dede $D 1m 128 || exit
+dede $D 1m 128 || exit
mount | grep "$mntpoint" | grep -q /md && umount -f ${mntpoint}
mdconfig -l | grep -q ${mdstart} && mdconfig -d -u $mdstart
Modified: user/pho/stress2/misc/mountro2.sh
==============================================================================
--- user/pho/stress2/misc/mountro2.sh Sun Feb 22 16:28:24 2015 (r279166)
+++ user/pho/stress2/misc/mountro2.sh Sun Feb 22 17:45:09 2015 (r279167)
@@ -36,7 +36,7 @@
[ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1
D=$diskimage
-dede $D 1m 20 || exit
+dede $D 1m 20 || exit
mount | grep "$mntpoint" | grep -q /md && umount -f ${mntpoint}
mdconfig -l | grep -q ${mdstart} && mdconfig -d -u $mdstart
Modified: user/pho/stress2/misc/newfs.sh
==============================================================================
--- user/pho/stress2/misc/newfs.sh Sun Feb 22 16:28:24 2015 (r279166)
+++ user/pho/stress2/misc/newfs.sh Sun Feb 22 17:45:09 2015 (r279167)
@@ -48,7 +48,7 @@ for opt in -O1 -O2 -U -j; do
mount /dev/md${mdstart}$part $mntpoint
export RUNDIR=$mntpoint/stressX
export runRUNTIME=4m
- (cd ..; ./run.sh disk.cfg > /dev/null 2>&1)
+ (cd ..; ./run.sh disk.cfg > /dev/null 2>&1)
while mount | grep "$mntpoint" | grep -q md${mdstart}$part; do
umount $mntpoint > /dev/null 2>&1 || sleep 1
done
Modified: user/pho/stress2/misc/nfs5.sh
==============================================================================
--- user/pho/stress2/misc/nfs5.sh Sun Feb 22 16:28:24 2015 (r279166)
+++ user/pho/stress2/misc/nfs5.sh Sun Feb 22 17:45:09 2015 (r279167)
@@ -33,7 +33,7 @@
[ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1
D=$diskimage
-dede $D 1m 128 || exit
+dede $D 1m 128 || exit
mount | grep "${mntpoint}2" | grep nfs > /dev/null && umount -f ${mntpoint}2
mount | grep "$mntpoint" | grep /md > /dev/null && umount -f ${mntpoint}
Modified: user/pho/stress2/misc/nullfs10.sh
==============================================================================
--- user/pho/stress2/misc/nullfs10.sh Sun Feb 22 16:28:24 2015 (r279166)
+++ user/pho/stress2/misc/nullfs10.sh Sun Feb 22 17:45:09 2015 (r279167)
@@ -57,7 +57,7 @@ mount -t nullfs $mntpoint $mnt2
cp /bin/ls $mntpoint
chmod +w $mntpoint/ls
sleep 2 >> $mntpoint/ls &
-sleep .5
+sleep .5
# This line should cause a "/mnt2/ls: Text file busy"
$mnt2/ls -l /bin/ls $mntpoint $mnt2 && echo FAIL || echo OK
kill $!
Modified: user/pho/stress2/misc/nullfs2.sh
==============================================================================
--- user/pho/stress2/misc/nullfs2.sh Sun Feb 22 16:28:24 2015 (r279166)
+++ user/pho/stress2/misc/nullfs2.sh Sun Feb 22 17:45:09 2015 (r279167)
@@ -40,7 +40,7 @@ mount -t nullfs $RUNDIR $mntpoint
export RUNDIR=$mntpoint/stressX
export runRUNTIME=10m
-(cd ..; ./run.sh marcus.cfg)
+(cd ..; ./run.sh marcus.cfg)
while mount | grep -q "on $mntpoint "; do
umount $mntpoint || sleep 1
Modified: user/pho/stress2/misc/nullfs7.sh
==============================================================================
--- user/pho/stress2/misc/nullfs7.sh Sun Feb 22 16:28:24 2015 (r279166)
+++ user/pho/stress2/misc/nullfs7.sh Sun Feb 22 17:45:09 2015 (r279167)
@@ -51,7 +51,7 @@ for i in `jot 50`; do
mount -oro -t nullfs $RUNDIR $DST
mount -orw -t nullfs /bin $DST
done
-mount | grep nullfs | awk '{print $3}' | xargs umount
+mount | grep nullfs | awk '{print $3}' | xargs umount
while mount | grep $mntpoint | grep -q /dev/md; do
umount $mntpoint || sleep 1
Modified: user/pho/stress2/misc/suj34.sh
==============================================================================
--- user/pho/stress2/misc/suj34.sh Sun Feb 22 16:28:24 2015 (r279166)
+++ user/pho/stress2/misc/suj34.sh Sun Feb 22 17:45:09 2015 (r279167)
@@ -52,7 +52,7 @@ mount -t nullfs $mntpoint/null $mnt2
export RUNDIR=$mnt2/stressX
export runRUNTIME=10m
-(cd ..; ./run.sh marcus.cfg)
+(cd ..; ./run.sh marcus.cfg)
while mount | grep -q "on $mnt2 "; do
umount $mnt2 || sleep 1
Modified: user/pho/stress2/misc/swappedout.sh
==============================================================================
--- user/pho/stress2/misc/swappedout.sh Sun Feb 22 16:28:24 2015 (r279166)
+++ user/pho/stress2/misc/swappedout.sh Sun Feb 22 17:45:09 2015 (r279167)
@@ -33,7 +33,7 @@
[ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1
-(cd ../testcases/swap; ./swap -t 2m -i 20 -v) > /dev/null
+(cd ../testcases/swap; ./swap -t 2m -i 20 -v) > /dev/null
ps auxww | awk '{print $8}' | egrep -q ".W" || exit 0
swapoff -a > /dev/null || exit 1
if ps auxww | awk '{print $8}' | egrep -q ".W"; then
Modified: user/pho/stress2/misc/umount.sh
==============================================================================
--- user/pho/stress2/misc/umount.sh Sun Feb 22 16:28:24 2015 (r279166)
+++ user/pho/stress2/misc/umount.sh Sun Feb 22 17:45:09 2015 (r279167)
@@ -46,7 +46,7 @@ newfs md${mdstart}${part}
mount /dev/md${mdstart}${part} $mntpoint
export RUNDIR=$mntpoint/stressX
export runRUNTIME=3m # Run tests for three minutes
-(cd ..; ./run.sh vfs.cfg)
+(cd ..; ./run.sh vfs.cfg)
umount $mntpoint
mdconfig -d -u ${mdstart}
rm -f $D
More information about the svn-src-user
mailing list