From d76340453b8ccc2b7286cb8026fe0c3e04975b8c Mon Sep 17 00:00:00 2001 From: Jensfrank Date: Fri, 28 Jun 2024 22:55:10 +0800 Subject: [PATCH] Update nodeloc_vps_autotest_yabs.sh --- nodeloc_vps_autotest_yabs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nodeloc_vps_autotest_yabs.sh b/nodeloc_vps_autotest_yabs.sh index c318195..ca87711 100644 --- a/nodeloc_vps_autotest_yabs.sh +++ b/nodeloc_vps_autotest_yabs.sh @@ -107,10 +107,10 @@ run_and_capture() { echo "$command_output" } -# 去除Yabs板块ANSI转义码 +# 去除Yabs板块ANSI转义码并过滤特定输出 yabs_process_output() { local input="$1" - echo "$input" | sed -E 's/\x1b\[[0-9;]*[a-zA-Z]//g' + echo "$input" | sed -E 's/\x1b\[[0-9;]*[a-zA-Z]//g' | grep -v -E 'Preparing|Generating|Running|Performing' } # 运行所有测试