Update nodeloc_vps_autotest_ip.sh

This commit is contained in:
Jensfrank 2024-06-27 12:55:15 +08:00 committed by GitHub
parent 515b9e1f07
commit 38e2a2a5c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -157,10 +157,7 @@ run_all_tests() {
}
format_results() {
# 预处理 IP 质量结果,去除可能导致问题的字符
cleaned_result=$(echo "$ip_quality_result" | sed 's/[[:cntrl:]]//g' | iconv -f UTF-8 -t UTF-8 -c)
result="[tabs]
result="[tabs]
[tab=\"IP质量\"]
\`\`\`
$cleaned_result