git: b1442e6b8d34 - main - stress2: Limit disk usage to avoid a disk full message

From: Peter Holm <pho_at_FreeBSD.org>
Date: Sun, 21 Sep 2025 09:15:14 UTC
The branch main has been updated by pho:

URL: https://cgit.FreeBSD.org/src/commit/?id=b1442e6b8d34971d3311e08dc72cafc6649c27db

commit b1442e6b8d34971d3311e08dc72cafc6649c27db
Author:     Peter Holm <pho@FreeBSD.org>
AuthorDate: 2025-09-21 09:14:07 +0000
Commit:     Peter Holm <pho@FreeBSD.org>
CommitDate: 2025-09-21 09:14:07 +0000

    stress2: Limit disk usage to avoid a disk full message
---
 tools/test/stress2/misc/unionfs7.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tools/test/stress2/misc/unionfs7.sh b/tools/test/stress2/misc/unionfs7.sh
index 6adcd01a5f83..9c00ba73e5c2 100755
--- a/tools/test/stress2/misc/unionfs7.sh
+++ b/tools/test/stress2/misc/unionfs7.sh
@@ -61,8 +61,8 @@ set +e
 mount | grep -E "$mp1|$mp2"
 
 set `df -ik $mp2 | tail -1 | awk '{print $4,$7}'`
-export KBLOCKS=$(($1 / 4))
-export INODES=$(($2 / 4))
+export KBLOCKS=$(($1 / 6))
+export INODES=$(($2 / 6))
 
 export CTRLDIR=$mp2/stressX.control
 export INCARNATIONS=10
@@ -95,7 +95,7 @@ export TESTPROGS=`echo $TESTPROGS | sed 's/\n/ /g'`
 set +e
 chmod 777 $mp2
 su $testuser -c \
-	"(cd $mp2/stress2; ./testcases/run/run $TESTPROGS)"
+	"(cd $mp2/stress2; ./testcases/run/run $TESTPROGS > /dev/null 2>&1)"
 
 while mount | grep -Eq "on $mp2 .*unionfs"; do
 	umount $mp2 && break