mirror of
https://github.com/everett7623/nodeloc_vps_test.git
synced 2024-11-10 10:05:18 +00:00
Update nodeloc_vps_autotest_yabs.sh
This commit is contained in:
parent
9675b73f88
commit
d76340453b
@ -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'
|
||||
}
|
||||
|
||||
# 运行所有测试
|
||||
|
Loading…
Reference in New Issue
Block a user