From 9918d7106440a771561e58932da156109e7e1877 Mon Sep 17 00:00:00 2001 From: skiffer-git <44203734@qq.com> Date: Tue, 2 Apr 2024 11:14:48 +0800 Subject: [PATCH] Script Refactoring --- scripts-new/check-all.sh | 11 ++++++++--- scripts-new/start.sh | 2 +- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/scripts-new/check-all.sh b/scripts-new/check-all.sh index ef6c63e13..b4f16eb7a 100644 --- a/scripts-new/check-all.sh +++ b/scripts-new/check-all.sh @@ -43,12 +43,17 @@ for binary in "${!binaries[@]}"; do fi done - for binary in "${!binaries[@]}"; do expected_count=${binaries[$binary]} - full_path=$(get_bin_full_path "$binary") - check_binary_ports "$full_path" + base_path=$(get_bin_full_path "$binary") + + for ((i=0; i "test.log" 2>&1 & + nohup "$bin_full_path" -i "$i" -c "$OPENIM_OUTPUT_CONFIG" > "test.log" 2>&1 & done done