Update nodeloc_vps_autotest_fusion.sh

This commit is contained in:
Jensfrank 2024-06-27 14:40:04 +08:00 committed by GitHub
parent 7f0c1a8bd1
commit 9cb835d00c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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