mirror of
https://github.com/everett7623/nodeloc_vps_test.git
synced 2024-12-26 16:25:22 +00:00
Update nodeloc_vps_autotest_media.sh
This commit is contained in:
parent
2fe7c050e1
commit
4d0f5572ae
@ -131,7 +131,7 @@ run_and_capture() {
|
|||||||
# 去除流媒体板块ANSI转义码并截取
|
# 去除流媒体板块ANSI转义码并截取
|
||||||
streaming_process_output() {
|
streaming_process_output() {
|
||||||
local input="$1"
|
local input="$1"
|
||||||
echo "$input" | sed 's/\x1b\[[0-9;]*m//g' | awk '/项目地址/{f=1} f; /检测脚本当天运行次数/{f=0}'
|
echo "$input" | sed -E 's/\x1b\[[0-9;]*[a-zA-Z]//g' | awk '/项目地址/{f=1} f; /检测脚本当天运行次数/{f=0}'
|
||||||
}
|
}
|
||||||
|
|
||||||
# 运行所有测试
|
# 运行所有测试
|
||||||
|
Loading…
Reference in New Issue
Block a user