mirror of
https://github.com/everett7623/nodeloc_vps_test.git
synced 2024-12-26 08:15:19 +00:00
Update nodeloc_vps_autotest.sh
This commit is contained in:
parent
4f51493c92
commit
9bcc752916
@ -171,7 +171,7 @@ run_all_tests() {
|
|||||||
# 流媒体解锁
|
# 流媒体解锁
|
||||||
echo "运行${YELLOW}流媒体解锁测试...${NC}"
|
echo "运行${YELLOW}流媒体解锁测试...${NC}"
|
||||||
run_streaming_test
|
run_streaming_test
|
||||||
|
|
||||||
# 响应测试
|
# 响应测试
|
||||||
echo "运行${YELLOW}响应测试...${NC}"
|
echo "运行${YELLOW}响应测试...${NC}"
|
||||||
response_result=$(run_and_capture "bash <(curl -sL https://nodebench.mereith.com/scripts/curltime.sh)")
|
response_result=$(run_and_capture "bash <(curl -sL https://nodebench.mereith.com/scripts/curltime.sh)")
|
||||||
@ -185,54 +185,57 @@ run_all_tests() {
|
|||||||
echo "运行${YELLOW}AutoTrace三网回程路由...${NC}"
|
echo "运行${YELLOW}AutoTrace三网回程路由...${NC}"
|
||||||
autotrace_result=$(run_and_capture "wget -N --no-check-certificate https://raw.githubusercontent.com/Chennhaoo/Shell_Bash/master/AutoTrace.sh && chmod +x AutoTrace.sh && echo '1' | bash AutoTrace.sh)
|
autotrace_result=$(run_and_capture "wget -N --no-check-certificate https://raw.githubusercontent.com/Chennhaoo/Shell_Bash/master/AutoTrace.sh && chmod +x AutoTrace.sh && echo '1' | bash AutoTrace.sh)
|
||||||
|
|
||||||
# 测试报告Markdown
|
# 生成Markdown结果
|
||||||
echo "运行${YELLOW}此报告由Nodeloc_VPS_自动脚本测试生成${NC}"
|
echo "生成${YELLOW}Markdown${NC}结果..."
|
||||||
format_results() {
|
result="
|
||||||
result="[tabs]
|
# 测试报告
|
||||||
|
*此报告由Nodeloc_VPS_自动脚本测试生成*
|
||||||
|
|
||||||
|
[tabs]
|
||||||
[tab=\"YABS\"]
|
[tab=\"YABS\"]
|
||||||
\`\`\`
|
\\\
|
||||||
$yabs_result
|
$yabs_result
|
||||||
\`\`\`
|
\\\
|
||||||
[/tab]
|
[/tab]
|
||||||
[tab=\"融合怪\"]
|
[tab=\"融合怪\"]
|
||||||
\`\`\`
|
\\\
|
||||||
$fusion_result
|
$fusion_result
|
||||||
\`\`\`
|
\\\
|
||||||
[/tab]
|
[/tab]
|
||||||
[tab=\"IP质量\"]
|
[tab=\"IP质量\"]
|
||||||
\`\`\`
|
\\\
|
||||||
$ip_quality_result
|
$ip_quality_result
|
||||||
\`\`\`
|
\\\
|
||||||
[/tab]
|
[/tab]
|
||||||
[tab=\"流媒体\"]
|
[tab=\"流媒体\"]
|
||||||
\`\`\`
|
\\\
|
||||||
$streaming_result
|
$streaming_result
|
||||||
\`\`\`
|
\\\
|
||||||
[/tab]
|
[/tab]
|
||||||
[tab=\"响应\"]
|
[tab=\"响应\"]
|
||||||
\`\`\`
|
\\\
|
||||||
$response_result
|
$response_result
|
||||||
\`\`\`
|
\\\
|
||||||
[/tab]
|
[/tab]
|
||||||
[tab=\"多线程测速\"]
|
[tab=\"多线程测速\"]
|
||||||
\`\`\`
|
\\\
|
||||||
$speedtest_multi_result
|
$speedtest_multi_result
|
||||||
\`\`\`
|
\\\
|
||||||
[/tab]
|
[/tab]
|
||||||
[tab=\"单线程测速\"]
|
[tab=\"单线程测速\"]
|
||||||
\`\`\`
|
\\\
|
||||||
$speedtest_single_result
|
$speedtest_single_result
|
||||||
\`\`\`
|
\\\
|
||||||
[/tab]
|
[/tab]
|
||||||
[tab=\"iperf3\"]
|
[tab=\"iperf3\"]
|
||||||
\`\`\`
|
\\\
|
||||||
|
|
||||||
\`\`\`
|
\\\
|
||||||
[/tab]
|
[/tab]
|
||||||
[tab=\"回程路由\"]
|
[tab=\"回程路由\"]
|
||||||
\`\`\`
|
\\\
|
||||||
$autotrace_result
|
$autotrace_result
|
||||||
\`\`\`
|
\\\
|
||||||
[/tab]
|
[/tab]
|
||||||
[tab=\"去程路由\"]
|
[tab=\"去程路由\"]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user