mirror of
https://github.com/everett7623/nodeloc_vps_test.git
synced 2024-12-27 00:35:19 +00:00
Update nodeloc_vps_autotest_ip.sh
This commit is contained in:
parent
515b9e1f07
commit
38e2a2a5c4
@ -157,10 +157,7 @@ run_all_tests() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
format_results() {
|
format_results() {
|
||||||
# 预处理 IP 质量结果,去除可能导致问题的字符
|
result="[tabs]
|
||||||
cleaned_result=$(echo "$ip_quality_result" | sed 's/[[:cntrl:]]//g' | iconv -f UTF-8 -t UTF-8 -c)
|
|
||||||
|
|
||||||
result="[tabs]
|
|
||||||
[tab=\"IP质量\"]
|
[tab=\"IP质量\"]
|
||||||
\`\`\`
|
\`\`\`
|
||||||
$cleaned_result
|
$cleaned_result
|
||||||
|
Loading…
Reference in New Issue
Block a user