Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Apr 2016 11:58:14 +0000 (UTC)
From:      Peter Holm <pho@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r297919 - user/pho/stress2/misc
Message-ID:  <201604131158.u3DBwE27024804@repo.freebsd.org>

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



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