From 2676132af9cac3c4fb1a41d49490c5ad5e6b1d5f Mon Sep 17 00:00:00 2001 From: liuyq-617 Date: Thu, 23 Dec 2021 13:29:58 +0800 Subject: [PATCH] (connector)fix --- tests/test-CI.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/tests/test-CI.sh b/tests/test-CI.sh index 80677483af..f08479bc80 100755 --- a/tests/test-CI.sh +++ b/tests/test-CI.sh @@ -124,8 +124,13 @@ function runPyCaseOneByOnefq() { else echo $line if [[ $line =~ ^bash.* ]]; then - $line > case.log 2>&1 || cat case.log && exit 8 - cat case.log + # $line > case.log 2>&1 || cat case.log && exit 8 + # cat case.log + $line > case.log 2>&1 + if [ $? -ne 0 ];then + cat case.log + exit 8 + fi fi fi fi -- GitLab