svn commit: r197034 - projects/stress2/misc

Peter Holm pho at FreeBSD.org
Wed Sep 9 11:14:03 UTC 2009


Author: pho
Date: Wed Sep  9 11:14:03 2009
New Revision: 197034
URL: http://svn.freebsd.org/changeset/base/197034

Log:
  Use bsdlabel and trim the number of test cycles.

Modified:
  projects/stress2/misc/fs.sh

Modified: projects/stress2/misc/fs.sh
==============================================================================
--- projects/stress2/misc/fs.sh	Wed Sep  9 11:12:41 2009	(r197033)
+++ projects/stress2/misc/fs.sh	Wed Sep  9 11:14:03 2009	(r197034)
@@ -45,7 +45,7 @@ ftest () {	# fstype, soft update, disk f
    export KBLOCKS=$(($1 * disk))
    export  INODES=$(($2 * disk))
 
-   for i in `jot 50`; do
+   for i in `jot 10`; do
       (cd ../testcases/rw;./rw -t 2m -i 20)
    done
 
@@ -59,7 +59,7 @@ mount | grep "${mntpoint}" | grep md${md
 mdconfig -l | grep md${mdstart} > /dev/null &&  mdconfig -d -u ${mdstart}
 
 mdconfig -a -t swap -s 20m -u ${mdstart}
-disklabel -r -w md${mdstart} auto
+bsdlabel -w md${mdstart} auto
 
 ftest 1 0 0	# ufs1
 ftest 1 0 1	# ufs1, disk full


More information about the svn-src-projects mailing list