mirror of
https://github.com/everett7623/nodeloc_vps_test.git
synced 2024-12-26 08:15:19 +00:00
Update nodeloc_vps_autotest_ip.sh
This commit is contained in:
parent
3f2ba997aa
commit
902345a792
@ -137,10 +137,13 @@ run_all_tests() {
|
||||
}
|
||||
|
||||
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]
|
||||
[tab=\"IP质量\"]
|
||||
\`\`\`
|
||||
$ip_quality_result
|
||||
$cleaned_output
|
||||
\`\`\`
|
||||
[/tab]
|
||||
[/tabs]
|
||||
|
Loading…
Reference in New Issue
Block a user