mirror of
https://github.com/everett7623/nodeloc_vps_test.git
synced 2024-12-27 16:55:21 +00:00
Update nodeloc_vps_autotest_fusion.sh
This commit is contained in:
parent
7f0c1a8bd1
commit
9cb835d00c
@ -132,7 +132,7 @@ show_welcome() {
|
|||||||
# 定义一个数组来存储每个命令的输出
|
# 定义一个数组来存储每个命令的输出
|
||||||
declare -a test_results
|
declare -a test_results
|
||||||
|
|
||||||
# 去除流媒体板块ANSI转义码并截取需要的部分
|
# 去除融合怪板块板块ANSI转义码
|
||||||
fusion_process_output() {
|
fusion_process_output() {
|
||||||
local input="$1"
|
local input="$1"
|
||||||
echo "$input" | sed 's/\x1b\[[0-9;]*m//g'
|
echo "$input" | sed 's/\x1b\[[0-9;]*m//g'
|
||||||
@ -187,3 +187,5 @@ main() {
|
|||||||
echo "最终结果文件内容:" >&2
|
echo "最终结果文件内容:" >&2
|
||||||
cat results.md >&2
|
cat results.md >&2
|
||||||
}
|
}
|
||||||
|
|
||||||
|
main
|
||||||
|
Loading…
Reference in New Issue
Block a user