Update nodeloc_vps_autotest_yabs.sh

This commit is contained in:
Jensfrank 2024-06-28 22:55:10 +08:00 committed by GitHub
parent 9675b73f88
commit d76340453b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -107,10 +107,10 @@ run_and_capture() {
echo "$command_output" echo "$command_output"
} }
# 去除Yabs板块ANSI转义码 # 去除Yabs板块ANSI转义码并过滤特定输出
yabs_process_output() { yabs_process_output() {
local input="$1" 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'
} }
# 运行所有测试 # 运行所有测试