Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Feb 2020 07:02:34 +0000 (UTC)
From:      Peter Holm <pho@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r358376 - user/pho/stress2/misc
Message-ID:  <202002270702.01R72YlR085154@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pho
Date: Thu Feb 27 07:02:33 2020
New Revision: 358376
URL: https://svnweb.freebsd.org/changeset/base/358376

Log:
  Fixed long line, fixed typo and remove now unneeded workaround.

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

Modified: user/pho/stress2/misc/ext2fs.sh
==============================================================================
--- user/pho/stress2/misc/ext2fs.sh	Thu Feb 27 06:58:41 2020	(r358375)
+++ user/pho/stress2/misc/ext2fs.sh	Thu Feb 27 07:02:33 2020	(r358376)
@@ -35,7 +35,8 @@
 . ../default.cfg
 
 # Uses mke2fs from sysutils/e2fsprogs
-[ -z "`type mke2fs 2>/dev/null`" ] && echo "mke2fs not found" && exit 0
+[ -z "`type mke2fs 2>/dev/null`" ] &&
+    echo "Skipping test as mke2fs not installed" && exit 0
 
 mount | grep "$mntpoint" | grep -q md$mdstart && umount $mntpoint
 mdconfig -l | grep -q md$mdstart &&  mdconfig -d -u $mdstart
@@ -43,11 +44,10 @@ mdconfig -l | grep -q md$mdstart &&  mdconfig -d -u $m
 mdconfig -a -t swap -s 1g -u $mdstart
 mke2fs -m 0 /dev/md$mdstart > /dev/null
 
-mount -t ext2fs /dev/md$mdstart /mnt
+mount -t ext2fs /dev/md$mdstart $mntpoint
 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?202002270702.01R72YlR085154>