mirror of
https://github.com/everett7623/nodeloc_vps_test.git
synced 2024-11-14 03:55:19 +00:00
Update nodeloc_vps_autotest_fusion.sh
This commit is contained in:
parent
46df1babc6
commit
5dc8a2f8cb
@ -135,7 +135,7 @@ declare -a test_results
|
|||||||
# 去除融合怪板块板块ANSI转义码
|
# 去除融合怪板块板块ANSI转义码
|
||||||
fusion_process_output() {
|
fusion_process_output() {
|
||||||
local input="$1"
|
local input="$1"
|
||||||
echo "$input" | sed 's/\x1b\[[0-9;]*m//g'
|
echo "$input" | sed 's/\x1b\[[0-9;]*m//g' | awk '/--------------------- A Bench Script/{f=1} f; /短链:https://{f=0}'
|
||||||
}
|
}
|
||||||
|
|
||||||
# 在每个命令执行后保存结果
|
# 在每个命令执行后保存结果
|
||||||
|
Loading…
Reference in New Issue
Block a user