Update Nlbench.sh

This commit is contained in:
Jensfrank 2024-09-07 18:07:31 +08:00 committed by GitHub
parent 12b15e12d7
commit 3095f30989
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -473,8 +473,8 @@ run_script() {
generate_markdown_output() { generate_markdown_output() {
local base_output_file=$1 local base_output_file=$1
local temp_output_file="${base_output_file}.md" local temp_output_file="${base_output_file}.md"
local sections=("YABS" "Geekbench5" "融合怪" "IP质量" "流媒体" "响应" "多线程测速" "单线程测速" "iperf3" "回程路由") local sections=("YABS" "融合怪" "IP质量" "流媒体" "响应" "多线程测速" "单线程测速" "iperf3" "回程路由")
local file_suffixes=("yabs" "gb5" "fusion" "ip_quality" "streaming" "response" "multi_thread" "single_thread" "iperf3" "route") local file_suffixes=("yabs" "fusion" "ip_quality" "streaming" "response" "multi_thread" "single_thread" "iperf3" "route")
local empty_tabs=("去程路由" "Ping.pe" "哪吒 ICMP" "其他") local empty_tabs=("去程路由" "Ping.pe" "哪吒 ICMP" "其他")
echo "[tabs]" > "$temp_output_file" echo "[tabs]" > "$temp_output_file"
@ -507,7 +507,7 @@ generate_markdown_output() {
local filename="${timestamp}${random_chars}.txt" local filename="${timestamp}${random_chars}.txt"
# 构造完整的URL # 构造完整的URL
local url="${PASTE_SERVICE_URL}${filename}" local url="http://nodeloc.uukk.de/test/${filename}"
# 上传文件 # 上传文件
if curl -s -X PUT --data-binary @"$temp_output_file" "$url"; then if curl -s -X PUT --data-binary @"$temp_output_file" "$url"; then