git: 0d30f3afa62b - main - stress2: No need to write to the console. Add revision to log string

From: Peter Holm <pho_at_FreeBSD.org>
Date: Sat, 19 Aug 2023 07:30:04 UTC
The branch main has been updated by pho:

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

commit 0d30f3afa62b4740810006476eb9de0c480619a1
Author:     Peter Holm <pho@FreeBSD.org>
AuthorDate: 2023-08-19 07:29:09 +0000
Commit:     Peter Holm <pho@FreeBSD.org>
CommitDate: 2023-08-19 07:29:09 +0000

    stress2: No need to write to the console.  Add revision to log string
---
 tools/test/stress2/misc/all.sh | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/tools/test/stress2/misc/all.sh b/tools/test/stress2/misc/all.sh
index 58bf3a630294..605c9958b552 100755
--- a/tools/test/stress2/misc/all.sh
+++ b/tools/test/stress2/misc/all.sh
@@ -237,9 +237,8 @@ while true; do
 		[ -f ../tools/ministat.sh ] &&
 		    ../tools/ministat.sh $allelapsed $i
 		[ $((`date '+%s'` - start)) -gt 1980 ] &&
-		    printf "$ts *** Excessive run time: %s %d min\r\n" $i, \
-		        $(((`date '+%s'` - start) / 60)) |
-		    tee $console >> $allexcess
+		    printf "$ts $rev $i %d min\n" \
+		        $(((`date '+%s'` - start) / 60)) >> $allexcess
 		while pgrep -q "^swap$"; do
 			echo "swap still running"
 			sleep 2