mirror of
https://github.com/everett7623/nodeloc_vps_test.git
synced 2024-11-10 10:05:18 +00:00
Update Nlbench.sh
This commit is contained in:
parent
5b9843d108
commit
dd4bf090fc
@ -170,8 +170,11 @@ run_script() {
|
|||||||
4)
|
4)
|
||||||
echo -e "运行${YELLOW}流媒体解锁测试...${NC}"
|
echo -e "运行${YELLOW}流媒体解锁测试...${NC}"
|
||||||
local region=$(detect_region)
|
local region=$(detect_region)
|
||||||
bash <(curl -L -s media.ispvps.com) <<< "$region" |tee "$temp_file"
|
bash <(curl -L -s media.ispvps.com) <<< "$region" | tee "$temp_file"
|
||||||
sed 's/\x1B\[[0-9;]*[JKmsu]//g; 1,/脚本适配/d' "$temp_file" > "${output_file}_streaming"
|
sed -i 's/\x1B\[[0-9;]*[JKmsu]//g' "$temp_file"
|
||||||
|
sed -i '1,/脚本适配/d' "$temp_file"
|
||||||
|
sed -i '/^$/d' "$temp_file" # 删除空行
|
||||||
|
cp "$temp_file" "${output_file}_streaming"
|
||||||
;;
|
;;
|
||||||
# 响应测试
|
# 响应测试
|
||||||
5)
|
5)
|
||||||
|
Loading…
Reference in New Issue
Block a user