From b562540a90e4b12f799d6e78ccce4993a7aa7e4c Mon Sep 17 00:00:00 2001 From: Jensfrank Date: Wed, 26 Jun 2024 23:58:34 +0800 Subject: [PATCH] Update nodeloc_vps_autotest_ip.sh --- nodeloc_vps_autotest_ip.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nodeloc_vps_autotest_ip.sh b/nodeloc_vps_autotest_ip.sh index 1b78733..559dba0 100644 --- a/nodeloc_vps_autotest_ip.sh +++ b/nodeloc_vps_autotest_ip.sh @@ -149,6 +149,12 @@ run_all_tests() { format_results } +# 提取IP质量报告 +extract_ip_report() { + awk '/^########################################################################$/,/按回车键返回主菜单.../' | + sed '/按回车键返回主菜单.../d' # 移除"按回车键返回主菜单..."行 +} + # 格式化结果为 Markdown format_results() { result="[tabs]