svn commit: r297919 - user/pho/stress2/misc

Peter Holm pho at FreeBSD.org
Wed Apr 13 11:58:15 UTC 2016


Author: pho
Date: Wed Apr 13 11:58:14 2016
New Revision: 297919
URL: https://svnweb.freebsd.org/changeset/base/297919

Log:
  Just ignore test if mke2fs is not found and added work around unrelated OOM
  issue.
  
  Sponsored by:	EMC / Isilon Storage Division

Modified:
  user/pho/stress2/misc/ext2fs.sh

Modified: user/pho/stress2/misc/ext2fs.sh
==============================================================================
--- user/pho/stress2/misc/ext2fs.sh	Wed Apr 13 11:55:15 2016	(r297918)
+++ user/pho/stress2/misc/ext2fs.sh	Wed Apr 13 11:58:14 2016	(r297919)
@@ -35,7 +35,7 @@
 . ../default.cfg
 
 # Uses mke2fs from sysutils/e2fsprogs
-[ -z "`type mke2fs 2>/dev/null`" ] && echo "mke2fs not found" && exit 1
+[ -z "`type mke2fs 2>/dev/null`" ] && echo "mke2fs not found" && exit 0
 
 mount | grep "$mntpoint" | grep -q md$mdstart && umount $mntpoint
 mdconfig -l | grep -q md$mdstart &&  mdconfig -d -u $mdstart
@@ -47,6 +47,7 @@ mount -t ext2fs /dev/md$mdstart /mnt
 chmod 777 $mntpoint
 
 export runRUNTIME=10m
+export swapLOAD=0	# Temp workaround for unrelated OOM issue.
 export RUNDIR=$mntpoint/stressX
 
 su $testuser -c 'cd ..; ./run.sh marcus.cfg'


More information about the svn-src-user mailing list