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
2271b825eb
commit
ba874788aa
@ -55,13 +55,6 @@ install_dependencies() {
|
||||
clear
|
||||
}
|
||||
|
||||
# 函数:运行命令并捕获输出
|
||||
run_and_capture() {
|
||||
local output
|
||||
output=$(eval "$1" 2>&1)
|
||||
echo "$output"
|
||||
}
|
||||
|
||||
# 检测VPS地理位置
|
||||
detect_region() {
|
||||
local country
|
||||
@ -136,6 +129,13 @@ show_welcome() {
|
||||
clear
|
||||
}
|
||||
|
||||
# 运行命令并捕获输出
|
||||
run_and_capture() {
|
||||
local output
|
||||
output=$(eval "$1" 2>&1)
|
||||
echo "$output"
|
||||
}
|
||||
|
||||
# 运行所有测试
|
||||
run_all_tests() {
|
||||
echo -e "${RED}开始测试,测试时间较长,请耐心等待...${NC}"
|
||||
|
Loading…
Reference in New Issue
Block a user