diff --git a/cmd/openim-test/main.go b/cmd/openim-test/main.go index de2b2cd79..464b45851 100644 --- a/cmd/openim-test/main.go +++ b/cmd/openim-test/main.go @@ -3,6 +3,7 @@ package main import ( "flag" "fmt" + "time" ) func main() { @@ -15,4 +16,6 @@ func main() { // Print the values of the flags fmt.Printf("args: -i %d -c %s\n", *index, *config) + + time.Sleep(600 * time.Second) } diff --git a/scripts-new/check-all.sh b/scripts-new/check-all.sh index e8342fd98..5e5e80cef 100644 --- a/scripts-new/check-all.sh +++ b/scripts-new/check-all.sh @@ -36,12 +36,11 @@ for binary in "${!binaries[@]}"; do result=$(openim::util::check_process_names "$full_path" "$expected_count") -echo $result 1111111111111111112222 - if [ "$result" -eq 0 ]; then - echo "ok $binary" - else - echo "failed $binary, miss $result " - fi + if [ "$result" -eq 0 ]; then + echo "Startup successful for $binary" + else + echo "Startup failed for $binary, $result processes missing." + fi done