Update nodeloc_vps_autotest_speed.sh

This commit is contained in:
Jensfrank 2024-07-01 23:31:01 +08:00 committed by GitHub
parent 09a2e59c1a
commit bbdf58a8a2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -140,7 +140,7 @@ process_speedtest_output() {
print "Debug: Starting to capture output" > "/dev/stderr" print "Debug: Starting to capture output" > "/dev/stderr"
} }
} }
found && !/测试进行中/ && NF { found && !/测试进行中/ {
print "Debug: Capturing line: " $0 > "/dev/stderr" print "Debug: Capturing line: " $0 > "/dev/stderr"
print print
} }
@ -180,8 +180,8 @@ run_all_tests() {
format_results() { format_results() {
# 处理三网测速结果 # 处理三网测速结果
local processed_speedtest_multi_result=$(speedtest_process_output "$speedtest_multi_result") local processed_speedtest_multi_result=$(process_speedtest_output "$speedtest_multi_result")
# local processed_speedtest_single_result=$(speedtest_process_output "$speedtest_single_result") # local processed_speedtest_single_result=$(process_speedtest_output "$speedtest_single_result")
result="[tabs] result="[tabs]
[tab=\"多线程测速\"] [tab=\"多线程测速\"]