diff options
author | Peter Holm <pho@FreeBSD.org> | 2023-08-19 07:29:09 +0000 |
---|---|---|
committer | Peter Holm <pho@FreeBSD.org> | 2023-08-19 07:29:09 +0000 |
commit | 0d30f3afa62b4740810006476eb9de0c480619a1 (patch) | |
tree | d9e64b96633009015b1a0206cbe9473e30479611 | |
parent | f322816aafa759d618ff89da266c038d0694e189 (diff) | |
download | src-0d30f3afa62b4740810006476eb9de0c480619a1.tar.gz src-0d30f3afa62b4740810006476eb9de0c480619a1.zip |
stress2: No need to write to the console. Add revision to log string
-rwxr-xr-x | tools/test/stress2/misc/all.sh | 5 |
1 files 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 |