mirror of
https://github.com/everett7623/nodeloc_vps_test.git
synced 2024-12-27 08:45:20 +00:00
Update nodeloc_vps_autotest_speed.sh
This commit is contained in:
parent
ab7c7d50b2
commit
177dd6c53e
@ -124,7 +124,7 @@ speedtest_multi_process_output() {
|
||||
|
||||
# Step 3: 截取所需的测试结果
|
||||
local speedtest_multi_process_output_result
|
||||
speedtest_multi_process_output_result=$(echo "$no_progress" | awk '/大陆三网+教育网 IPv4 多线程测速/{f=1} f; /北京时间/{f=0}')
|
||||
speedtest_multi_process_output_result=$(echo "$no_progress" | awk '/大陆三网\+教育网 IPv4 多线程测速/{f=1} f; /北京时间/{f=0}')
|
||||
echo "$speedtest_multi_process_output_result"
|
||||
}
|
||||
|
||||
@ -143,7 +143,7 @@ speedtest_single_process_output() {
|
||||
|
||||
# Step 3: 截取所需的测试结果
|
||||
local speedtest_single_process_output_result
|
||||
speedtest_single_process_output_result=$(echo "$no_progress" | awk '/大陆三网+教育网 IPv4 单线程测速/{f=1} f; /北京时间/{f=0}')
|
||||
speedtest_single_process_output_result=$(echo "$no_progress" | awk '/大陆三网\+教育网 IPv4 单线程测速/{f=1} f; /北京时间/{f=0}')
|
||||
echo "$speedtest_single_process_output_result"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user