From 0d30f3afa62b4740810006476eb9de0c480619a1 Mon Sep 17 00:00:00 2001 From: Peter Holm Date: Sat, 19 Aug 2023 09:29:09 +0200 Subject: [PATCH] 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