From 45214d06c04b6079e5dea449e9f60a08ce16fc48 Mon Sep 17 00:00:00 2001 From: cxy Date: Tue, 28 Mar 2023 06:46:21 +0000 Subject: [PATCH 1/9] =?UTF-8?q?update=20testcases/cli-test/mysql=5Fserver/?= =?UTF-8?q?oe=5Ftest=5Fmysql=5Fibd2sdi=5F001.sh.=20=E7=94=A8=E4=BE=8B?= =?UTF-8?q?=E6=AD=A4=E5=A4=84=E5=88=A4=E6=96=AD=E6=98=AF=E5=90=A6=E6=98=AF?= =?UTF-8?q?VERSION=5FID=3D"20.03"=EF=BC=8C=E5=A6=82=E6=9E=9C=E6=98=AF20.03?= =?UTF-8?q?=EF=BC=8C=E7=94=A8=E4=BE=8B=E5=9C=A8=E5=88=A4=E6=96=AD=E8=BF=99?= =?UTF-8?q?=E5=9D=97=E9=9C=80=E8=A6=81=E5=BC=82=E5=B8=B8=E9=80=80=E5=87=BA?= =?UTF-8?q?=EF=BC=8Cexit=201=EF=BC=8C=E8=80=8C=E4=B8=8D=E6=98=AFexit=200?= =?UTF-8?q?=EF=BC=8C=E5=9B=A0=E4=B8=BAexit=200=E4=BC=9A=E5=AF=BC=E8=87=B4?= =?UTF-8?q?=E7=94=A8=E4=BE=8B=E5=81=87=E9=80=9A=E8=BF=87=20=20if=20[=20${v?= =?UTF-8?q?ersion=5Fid}=20=3D=20"20.03"=20];then=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20exit=200=20=20=20=20=20fi=20=E4=B8=AD=E7=9A=84exit=200=20?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=88=90=20exit=201?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: cxy --- testcases/cli-test/mysql_server/oe_test_mysql_ibd2sdi_001.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testcases/cli-test/mysql_server/oe_test_mysql_ibd2sdi_001.sh b/testcases/cli-test/mysql_server/oe_test_mysql_ibd2sdi_001.sh index 6ae3926f6..346fe2d8d 100644 --- a/testcases/cli-test/mysql_server/oe_test_mysql_ibd2sdi_001.sh +++ b/testcases/cli-test/mysql_server/oe_test_mysql_ibd2sdi_001.sh @@ -21,7 +21,7 @@ function pre_test() { LOG_INFO "Start to prepare the test environment!" version_id=`cat /etc/os-release | grep "VERSION_ID" | awk -F "=" {'print$NF'} | awk -F "\"" {'print$2'}` if [ ${version_id} = "20.03" ];then - exit 0 + exit 1 fi rm -rf /var/lib/mysql/* DNF_INSTALL mysql-server -- Gitee From 8f44a22f37c5657a5a565b2fca41ade75c030a80 Mon Sep 17 00:00:00 2001 From: cxy Date: Tue, 28 Mar 2023 06:46:45 +0000 Subject: [PATCH 2/9] =?UTF-8?q?update=20testcases/cli-test/mysql=5Fserver/?= =?UTF-8?q?oe=5Ftest=5Fmysql=5Finnochecksum=5F001.sh.=20=E7=94=A8=E4=BE=8B?= =?UTF-8?q?=E6=AD=A4=E5=A4=84=E5=88=A4=E6=96=AD=E6=98=AF=E5=90=A6=E6=98=AF?= =?UTF-8?q?VERSION=5FID=3D"20.03"=EF=BC=8C=E5=A6=82=E6=9E=9C=E6=98=AF20.03?= =?UTF-8?q?=EF=BC=8C=E7=94=A8=E4=BE=8B=E5=9C=A8=E5=88=A4=E6=96=AD=E8=BF=99?= =?UTF-8?q?=E5=9D=97=E9=9C=80=E8=A6=81=E5=BC=82=E5=B8=B8=E9=80=80=E5=87=BA?= =?UTF-8?q?=EF=BC=8Cexit=201=EF=BC=8C=E8=80=8C=E4=B8=8D=E6=98=AFexit=200?= =?UTF-8?q?=EF=BC=8C=E5=9B=A0=E4=B8=BAexit=200=E4=BC=9A=E5=AF=BC=E8=87=B4?= =?UTF-8?q?=E7=94=A8=E4=BE=8B=E5=81=87=E9=80=9A=E8=BF=87=20=20if=20[=20${v?= =?UTF-8?q?ersion=5Fid}=20=3D=20"20.03"=20];then=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20exit=200=20=20=20=20=20fi=20=E4=B8=AD=E7=9A=84exit=200=20?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=88=90=20exit=201?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: cxy --- .../cli-test/mysql_server/oe_test_mysql_innochecksum_001.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testcases/cli-test/mysql_server/oe_test_mysql_innochecksum_001.sh b/testcases/cli-test/mysql_server/oe_test_mysql_innochecksum_001.sh index cf5d4bbfa..b032fe176 100644 --- a/testcases/cli-test/mysql_server/oe_test_mysql_innochecksum_001.sh +++ b/testcases/cli-test/mysql_server/oe_test_mysql_innochecksum_001.sh @@ -21,7 +21,7 @@ function pre_test() { LOG_INFO "Start to prepare the test environment!" version_id=`cat /etc/os-release | grep "VERSION_ID" | awk -F "=" {'print$NF'} | awk -F "\"" {'print$2'}` if [ ${version_id} = "20.03" ];then - exit 0 + exit 1 fi rm -rf /var/lib/mysql/* DNF_INSTALL mysql-server -- Gitee From 005558ad7e7c1bd4755abb031b7696f68223d51e Mon Sep 17 00:00:00 2001 From: cxy Date: Tue, 28 Mar 2023 06:47:04 +0000 Subject: [PATCH 3/9] =?UTF-8?q?update=20testcases/cli-test/mysql=5Fserver/?= =?UTF-8?q?oe=5Ftest=5Fmysql=5Fmyisam=5Fftdump=5F001.sh.=20=E7=94=A8?= =?UTF-8?q?=E4=BE=8B=E6=AD=A4=E5=A4=84=E5=88=A4=E6=96=AD=E6=98=AF=E5=90=A6?= =?UTF-8?q?=E6=98=AFVERSION=5FID=3D"20.03"=EF=BC=8C=E5=A6=82=E6=9E=9C?= =?UTF-8?q?=E6=98=AF20.03=EF=BC=8C=E7=94=A8=E4=BE=8B=E5=9C=A8=E5=88=A4?= =?UTF-8?q?=E6=96=AD=E8=BF=99=E5=9D=97=E9=9C=80=E8=A6=81=E5=BC=82=E5=B8=B8?= =?UTF-8?q?=E9=80=80=E5=87=BA=EF=BC=8Cexit=201=EF=BC=8C=E8=80=8C=E4=B8=8D?= =?UTF-8?q?=E6=98=AFexit=200=EF=BC=8C=E5=9B=A0=E4=B8=BAexit=200=E4=BC=9A?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=E7=94=A8=E4=BE=8B=E5=81=87=E9=80=9A=E8=BF=87?= =?UTF-8?q?=20=20if=20[=20${version=5Fid}=20=3D=20"20.03"=20];then=20=20?= =?UTF-8?q?=20=20=20=20=20=20=20exit=200=20=20=20=20=20fi=20=E4=B8=AD?= =?UTF-8?q?=E7=9A=84exit=200=20=E4=BF=AE=E6=94=B9=E6=88=90=20exit=201?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: cxy --- .../cli-test/mysql_server/oe_test_mysql_myisam_ftdump_001.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testcases/cli-test/mysql_server/oe_test_mysql_myisam_ftdump_001.sh b/testcases/cli-test/mysql_server/oe_test_mysql_myisam_ftdump_001.sh index 2324d589e..7a9e1b725 100644 --- a/testcases/cli-test/mysql_server/oe_test_mysql_myisam_ftdump_001.sh +++ b/testcases/cli-test/mysql_server/oe_test_mysql_myisam_ftdump_001.sh @@ -21,7 +21,7 @@ function pre_test() { LOG_INFO "Start to prepare the test environment!" version_id=`cat /etc/os-release | grep "VERSION_ID" | awk -F "=" {'print$NF'} | awk -F "\"" {'print$2'}` if [ ${version_id} = "20.03" ];then - exit 0 + exit 1 fi rm -rf /var/lib/mysql/* DNF_INSTALL mysql-server -- Gitee From 9dddfd13d61a4625a3769037b25762905639d70b Mon Sep 17 00:00:00 2001 From: cxy Date: Tue, 28 Mar 2023 06:47:32 +0000 Subject: [PATCH 4/9] =?UTF-8?q?update=20testcases/cli-test/mysql=5Fserver/?= =?UTF-8?q?oe=5Ftest=5Fmysql=5Fmyisam=5Fmyisamchk=5F001.sh.=20=E7=94=A8?= =?UTF-8?q?=E4=BE=8B=E6=AD=A4=E5=A4=84=E5=88=A4=E6=96=AD=E6=98=AF=E5=90=A6?= =?UTF-8?q?=E6=98=AFVERSION=5FID=3D"20.03"=EF=BC=8C=E5=A6=82=E6=9E=9C?= =?UTF-8?q?=E6=98=AF20.03=EF=BC=8C=E7=94=A8=E4=BE=8B=E5=9C=A8=E5=88=A4?= =?UTF-8?q?=E6=96=AD=E8=BF=99=E5=9D=97=E9=9C=80=E8=A6=81=E5=BC=82=E5=B8=B8?= =?UTF-8?q?=E9=80=80=E5=87=BA=EF=BC=8Cexit=201=EF=BC=8C=E8=80=8C=E4=B8=8D?= =?UTF-8?q?=E6=98=AFexit=200=EF=BC=8C=E5=9B=A0=E4=B8=BAexit=200=E4=BC=9A?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=E7=94=A8=E4=BE=8B=E5=81=87=E9=80=9A=E8=BF=87?= =?UTF-8?q?=20=20if=20[=20${version=5Fid}=20=3D=20"20.03"=20];then=20=20?= =?UTF-8?q?=20=20=20=20=20=20=20exit=200=20=20=20=20=20fi=20=E4=B8=AD?= =?UTF-8?q?=E7=9A=84exit=200=20=E4=BF=AE=E6=94=B9=E6=88=90=20exit=201?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: cxy --- .../cli-test/mysql_server/oe_test_mysql_myisam_myisamchk_001.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testcases/cli-test/mysql_server/oe_test_mysql_myisam_myisamchk_001.sh b/testcases/cli-test/mysql_server/oe_test_mysql_myisam_myisamchk_001.sh index d3ac0e0aa..7b638a2d7 100644 --- a/testcases/cli-test/mysql_server/oe_test_mysql_myisam_myisamchk_001.sh +++ b/testcases/cli-test/mysql_server/oe_test_mysql_myisam_myisamchk_001.sh @@ -21,7 +21,7 @@ function pre_test() { LOG_INFO "Start to prepare the test environment!" version_id=`cat /etc/os-release | grep "VERSION_ID" | awk -F "=" {'print$NF'} | awk -F "\"" {'print$2'}` if [ ${version_id} = "20.03" ];then - exit 0 + exit 1 fi rm -rf /var/lib/mysql/* DNF_INSTALL mysql-server -- Gitee From 7a4863dc0bf30384a3308ce250fe5e741718eb0b Mon Sep 17 00:00:00 2001 From: cxy Date: Tue, 28 Mar 2023 06:47:55 +0000 Subject: [PATCH 5/9] =?UTF-8?q?update=20testcases/cli-test/mysql=5Fserver/?= =?UTF-8?q?oe=5Ftest=5Fmysql=5Fmysqlshow=5F001.sh.=20=E7=94=A8=E4=BE=8B?= =?UTF-8?q?=E6=AD=A4=E5=A4=84=E5=88=A4=E6=96=AD=E6=98=AF=E5=90=A6=E6=98=AF?= =?UTF-8?q?VERSION=5FID=3D"20.03"=EF=BC=8C=E5=A6=82=E6=9E=9C=E6=98=AF20.03?= =?UTF-8?q?=EF=BC=8C=E7=94=A8=E4=BE=8B=E5=9C=A8=E5=88=A4=E6=96=AD=E8=BF=99?= =?UTF-8?q?=E5=9D=97=E9=9C=80=E8=A6=81=E5=BC=82=E5=B8=B8=E9=80=80=E5=87=BA?= =?UTF-8?q?=EF=BC=8Cexit=201=EF=BC=8C=E8=80=8C=E4=B8=8D=E6=98=AFexit=200?= =?UTF-8?q?=EF=BC=8C=E5=9B=A0=E4=B8=BAexit=200=E4=BC=9A=E5=AF=BC=E8=87=B4?= =?UTF-8?q?=E7=94=A8=E4=BE=8B=E5=81=87=E9=80=9A=E8=BF=87=20=20if=20[=20${v?= =?UTF-8?q?ersion=5Fid}=20=3D=20"20.03"=20];then=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20exit=200=20=20=20=20=20fi=20=E4=B8=AD=E7=9A=84exit=200=20?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=88=90=20exit=201?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: cxy --- testcases/cli-test/mysql_server/oe_test_mysql_mysqlshow_001.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testcases/cli-test/mysql_server/oe_test_mysql_mysqlshow_001.sh b/testcases/cli-test/mysql_server/oe_test_mysql_mysqlshow_001.sh index cbb98d5e0..9c716f221 100644 --- a/testcases/cli-test/mysql_server/oe_test_mysql_mysqlshow_001.sh +++ b/testcases/cli-test/mysql_server/oe_test_mysql_mysqlshow_001.sh @@ -21,7 +21,7 @@ function pre_test() { LOG_INFO "Start to prepare the test environment!" version_id=`cat /etc/os-release | grep "VERSION_ID" | awk -F "=" {'print$NF'} | awk -F "\"" {'print$2'}` if [ ${version_id} = "20.03" ];then - exit 0 + exit 1 fi rm -rf /var/lib/mysql/* DNF_INSTALL mysql-server -- Gitee From ed65e9d466394552fe91b761f52b7fccaedc00b6 Mon Sep 17 00:00:00 2001 From: cxy Date: Tue, 28 Mar 2023 06:48:17 +0000 Subject: [PATCH 6/9] =?UTF-8?q?update=20testcases/cli-test/mysql=5Fserver/?= =?UTF-8?q?oe=5Ftest=5Fmysql=5Fmysqlslap=5F001.sh.=20=E7=94=A8=E4=BE=8B?= =?UTF-8?q?=E6=AD=A4=E5=A4=84=E5=88=A4=E6=96=AD=E6=98=AF=E5=90=A6=E6=98=AF?= =?UTF-8?q?VERSION=5FID=3D"20.03"=EF=BC=8C=E5=A6=82=E6=9E=9C=E6=98=AF20.03?= =?UTF-8?q?=EF=BC=8C=E7=94=A8=E4=BE=8B=E5=9C=A8=E5=88=A4=E6=96=AD=E8=BF=99?= =?UTF-8?q?=E5=9D=97=E9=9C=80=E8=A6=81=E5=BC=82=E5=B8=B8=E9=80=80=E5=87=BA?= =?UTF-8?q?=EF=BC=8Cexit=201=EF=BC=8C=E8=80=8C=E4=B8=8D=E6=98=AFexit=200?= =?UTF-8?q?=EF=BC=8C=E5=9B=A0=E4=B8=BAexit=200=E4=BC=9A=E5=AF=BC=E8=87=B4?= =?UTF-8?q?=E7=94=A8=E4=BE=8B=E5=81=87=E9=80=9A=E8=BF=87=20=20if=20[=20${v?= =?UTF-8?q?ersion=5Fid}=20=3D=20"20.03"=20];then=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20exit=200=20=20=20=20=20fi=20=E4=B8=AD=E7=9A=84exit=200=20?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=88=90=20exit=201?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: cxy --- testcases/cli-test/mysql_server/oe_test_mysql_mysqlslap_001.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testcases/cli-test/mysql_server/oe_test_mysql_mysqlslap_001.sh b/testcases/cli-test/mysql_server/oe_test_mysql_mysqlslap_001.sh index 43f0f5000..d2e7fe9d5 100644 --- a/testcases/cli-test/mysql_server/oe_test_mysql_mysqlslap_001.sh +++ b/testcases/cli-test/mysql_server/oe_test_mysql_mysqlslap_001.sh @@ -21,7 +21,7 @@ function pre_test() { LOG_INFO "Start to prepare the test environment!" version_id=`cat /etc/os-release | grep "VERSION_ID" | awk -F "=" {'print$NF'} | awk -F "\"" {'print$2'}` if [ ${version_id} = "20.03" ];then - exit 0 + exit 1 fi rm -rf /var/lib/mysql/* DNF_INSTALL mysql-server -- Gitee From eb89c6817415ef837e8825b8104f49e7e22e40d4 Mon Sep 17 00:00:00 2001 From: cxy Date: Tue, 28 Mar 2023 06:48:51 +0000 Subject: [PATCH 7/9] =?UTF-8?q?update=20testcases/cli-test/mysql=5Fserver/?= =?UTF-8?q?oe=5Ftest=5Fmysql=5Fsecure=5Finstallation=5F001.sh.=20=E7=94=A8?= =?UTF-8?q?=E4=BE=8B=E6=AD=A4=E5=A4=84=E5=88=A4=E6=96=AD=E6=98=AF=E5=90=A6?= =?UTF-8?q?=E6=98=AFVERSION=5FID=3D"20.03"=EF=BC=8C=E5=A6=82=E6=9E=9C?= =?UTF-8?q?=E6=98=AF20.03=EF=BC=8C=E7=94=A8=E4=BE=8B=E5=9C=A8=E5=88=A4?= =?UTF-8?q?=E6=96=AD=E8=BF=99=E5=9D=97=E9=9C=80=E8=A6=81=E5=BC=82=E5=B8=B8?= =?UTF-8?q?=E9=80=80=E5=87=BA=EF=BC=8Cexit=201=EF=BC=8C=E8=80=8C=E4=B8=8D?= =?UTF-8?q?=E6=98=AFexit=200=EF=BC=8C=E5=9B=A0=E4=B8=BAexit=200=E4=BC=9A?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=E7=94=A8=E4=BE=8B=E5=81=87=E9=80=9A=E8=BF=87?= =?UTF-8?q?=20=20if=20[=20${version=5Fid}=20=3D=20"20.03"=20];then=20=20?= =?UTF-8?q?=20=20=20=20=20=20=20exit=200=20=20=20=20=20fi=20=E4=B8=AD?= =?UTF-8?q?=E7=9A=84exit=200=20=E4=BF=AE=E6=94=B9=E6=88=90=20exit=201?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: cxy --- .../mysql_server/oe_test_mysql_secure_installation_001.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testcases/cli-test/mysql_server/oe_test_mysql_secure_installation_001.sh b/testcases/cli-test/mysql_server/oe_test_mysql_secure_installation_001.sh index c9e4245b4..442b8d3af 100644 --- a/testcases/cli-test/mysql_server/oe_test_mysql_secure_installation_001.sh +++ b/testcases/cli-test/mysql_server/oe_test_mysql_secure_installation_001.sh @@ -21,7 +21,7 @@ function pre_test() { LOG_INFO "Start to prepare the test environment!" version_id=`cat /etc/os-release | grep "VERSION_ID" | awk -F "=" {'print$NF'} | awk -F "\"" {'print$2'}` if [ ${version_id} = "20.03" ];then - exit 0 + exit 1 fi rm -rf /var/lib/mysql/* DNF_INSTALL mysql-server -- Gitee From 10f467454d7a02a8dbd37c0b2284700591854ef3 Mon Sep 17 00:00:00 2001 From: cxy Date: Tue, 28 Mar 2023 06:49:26 +0000 Subject: [PATCH 8/9] =?UTF-8?q?update=20testcases/cli-test/mysql=5Fserver/?= =?UTF-8?q?oe=5Ftest=5Fmysql=5Fssl=5Frsa=5Fsetup=5F001.sh.=20=E7=94=A8?= =?UTF-8?q?=E4=BE=8B=E6=AD=A4=E5=A4=84=E5=88=A4=E6=96=AD=E6=98=AF=E5=90=A6?= =?UTF-8?q?=E6=98=AFVERSION=5FID=3D"20.03"=EF=BC=8C=E5=A6=82=E6=9E=9C?= =?UTF-8?q?=E6=98=AF20.03=EF=BC=8C=E7=94=A8=E4=BE=8B=E5=9C=A8=E5=88=A4?= =?UTF-8?q?=E6=96=AD=E8=BF=99=E5=9D=97=E9=9C=80=E8=A6=81=E5=BC=82=E5=B8=B8?= =?UTF-8?q?=E9=80=80=E5=87=BA=EF=BC=8Cexit=201=EF=BC=8C=E8=80=8C=E4=B8=8D?= =?UTF-8?q?=E6=98=AFexit=200=EF=BC=8C=E5=9B=A0=E4=B8=BAexit=200=E4=BC=9A?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=E7=94=A8=E4=BE=8B=E5=81=87=E9=80=9A=E8=BF=87?= =?UTF-8?q?=20=20if=20[=20${version=5Fid}=20=3D=20"20.03"=20];then=20=20?= =?UTF-8?q?=20=20=20=20=20=20=20exit=200=20=20=20=20=20fi=20=E4=B8=AD?= =?UTF-8?q?=E7=9A=84exit=200=20=E4=BF=AE=E6=94=B9=E6=88=90=20exit=201?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: cxy --- .../cli-test/mysql_server/oe_test_mysql_ssl_rsa_setup_001.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testcases/cli-test/mysql_server/oe_test_mysql_ssl_rsa_setup_001.sh b/testcases/cli-test/mysql_server/oe_test_mysql_ssl_rsa_setup_001.sh index 24d319a94..b96fa2d42 100644 --- a/testcases/cli-test/mysql_server/oe_test_mysql_ssl_rsa_setup_001.sh +++ b/testcases/cli-test/mysql_server/oe_test_mysql_ssl_rsa_setup_001.sh @@ -21,7 +21,7 @@ function pre_test() { LOG_INFO "Start to prepare the test environment!" version_id=`cat /etc/os-release | grep "VERSION_ID" | awk -F "=" {'print$NF'} | awk -F "\"" {'print$2'}` if [ ${version_id} = "20.03" ];then - exit 0 + exit 1 fi rm -rf /var/lib/mysql/* DNF_INSTALL mysql-server -- Gitee From c5be44a63594fd17572ac313349d4e5a6c9bbd26 Mon Sep 17 00:00:00 2001 From: cxy Date: Tue, 28 Mar 2023 06:49:46 +0000 Subject: [PATCH 9/9] =?UTF-8?q?update=20testcases/cli-test/mysql=5Fserver/?= =?UTF-8?q?oe=5Ftest=5Fmysql=5Ftimezone=5F001.sh.=20=E7=94=A8=E4=BE=8B?= =?UTF-8?q?=E6=AD=A4=E5=A4=84=E5=88=A4=E6=96=AD=E6=98=AF=E5=90=A6=E6=98=AF?= =?UTF-8?q?VERSION=5FID=3D"20.03"=EF=BC=8C=E5=A6=82=E6=9E=9C=E6=98=AF20.03?= =?UTF-8?q?=EF=BC=8C=E7=94=A8=E4=BE=8B=E5=9C=A8=E5=88=A4=E6=96=AD=E8=BF=99?= =?UTF-8?q?=E5=9D=97=E9=9C=80=E8=A6=81=E5=BC=82=E5=B8=B8=E9=80=80=E5=87=BA?= =?UTF-8?q?=EF=BC=8Cexit=201=EF=BC=8C=E8=80=8C=E4=B8=8D=E6=98=AFexit=200?= =?UTF-8?q?=EF=BC=8C=E5=9B=A0=E4=B8=BAexit=200=E4=BC=9A=E5=AF=BC=E8=87=B4?= =?UTF-8?q?=E7=94=A8=E4=BE=8B=E5=81=87=E9=80=9A=E8=BF=87=20=20if=20[=20${v?= =?UTF-8?q?ersion=5Fid}=20=3D=20"20.03"=20];then=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20exit=200=20=20=20=20=20fi=20=E4=B8=AD=E7=9A=84exit=200=20?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=88=90=20exit=201?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: cxy --- testcases/cli-test/mysql_server/oe_test_mysql_timezone_001.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testcases/cli-test/mysql_server/oe_test_mysql_timezone_001.sh b/testcases/cli-test/mysql_server/oe_test_mysql_timezone_001.sh index 0ccdd41ac..d31ffe9a5 100644 --- a/testcases/cli-test/mysql_server/oe_test_mysql_timezone_001.sh +++ b/testcases/cli-test/mysql_server/oe_test_mysql_timezone_001.sh @@ -21,7 +21,7 @@ function pre_test() { LOG_INFO "Start to prepare the test environment!" version_id=`cat /etc/os-release | grep "VERSION_ID" | awk -F "=" {'print$NF'} | awk -F "\"" {'print$2'}` if [ ${version_id} = "20.03" ];then - exit 0 + exit 1 fi rm -rf /var/lib/mysql/* DNF_INSTALL mysql-server -- Gitee