From 95ae3c19d2af70405177c1b64b93b1d3196037db Mon Sep 17 00:00:00 2001 From: LDOUBLEV Date: Wed, 9 Jun 2021 15:38:54 +0800 Subject: [PATCH] rename save_log in func status_check --- test/test.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/test.sh b/test/test.sh index fdc54095..30fb42a3 100644 --- a/test/test.sh +++ b/test/test.sh @@ -73,11 +73,11 @@ function status_check(){ last_status=$1 # the exit code run_model=$2 run_command=$3 - save_log=$4 + run_log=$4 if [ $last_status -eq 0 ]; then - echo -e "\033[33m $run_model successfully with command - ${run_command}! \033[0m" | tee -a ${save_log} + echo -e "\033[33m $run_model successfully with command - ${run_command}! \033[0m" | tee -a ${run_log} else - echo -e "\033[33m $case failed with command - ${run_command}! \033[0m" | tee -a ${save_log} + echo -e "\033[33m $case failed with command - ${run_command}! \033[0m" | tee -a ${run_log} fi } -- GitLab