Update nodeloc_vps_autotest_ip.sh

This commit is contained in:
Jensfrank 2024-06-27 13:41:18 +08:00 committed by GitHub
parent 3f2ba997aa
commit 902345a792
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -137,10 +137,13 @@ run_all_tests() {
} }
format_results() { format_results() {
# 清理和格式化输出
cleaned_output=$(echo "$ip_quality_result" | sed 's/.*\[<span data-type="inline-math" data-value="W15dXSo="></span>\]# \([^[]*\)\[3m\([^[]*\)............... \([^%]*\)% \(.*\)/\1 - \3 - \4/g')
result="[tabs] result="[tabs]
[tab=\"IP质量\"] [tab=\"IP质量\"]
\`\`\` \`\`\`
$ip_quality_result $cleaned_output
\`\`\` \`\`\`
[/tab] [/tab]
[/tabs] [/tabs]