From 72efeba8814badbcaf1f2ec2f81d33a89d8efad3 Mon Sep 17 00:00:00 2001 From: Wai Yee Wong Date: Tue, 4 May 2021 14:06:20 -0400 Subject: [PATCH 1/2] Improve verification of makentp_extntpserver_value --- xCAT-test/autotest/testcase/makentp/cases0 | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/xCAT-test/autotest/testcase/makentp/cases0 b/xCAT-test/autotest/testcase/makentp/cases0 index b807e4893..de84b8ed5 100644 --- a/xCAT-test/autotest/testcase/makentp/cases0 +++ b/xCAT-test/autotest/testcase/makentp/cases0 @@ -54,12 +54,8 @@ cmd:if [[ "__GETNODEATTR($$CN,os)__" =~ "rhel" ]];then clock -w;else hwclock -w check:rc==0 cmd:makentp check:rc==0 -check:output=~configuring management node: $$MN cmd:makentp -V -check:rc==0 -check:output=~configuring management node: $$MN -check:output=~Calling ... /install/postscripts/setupntp -check:output=~Daemon chronyd configured +check:output!~Error cmd:curryear=`cat /tmp/currentyear`;date | grep $curryear check:rc==0 check:output=~\d From 42db72b38cc540dea2f2ad30103ce4efe0b9c125 Mon Sep 17 00:00:00 2001 From: Wai Yee Wong Date: Wed, 5 May 2021 11:09:43 -0400 Subject: [PATCH 2/2] Remove makentp -V --- xCAT-test/autotest/testcase/makentp/cases0 | 2 -- 1 file changed, 2 deletions(-) diff --git a/xCAT-test/autotest/testcase/makentp/cases0 b/xCAT-test/autotest/testcase/makentp/cases0 index de84b8ed5..cf5a27d64 100644 --- a/xCAT-test/autotest/testcase/makentp/cases0 +++ b/xCAT-test/autotest/testcase/makentp/cases0 @@ -54,8 +54,6 @@ cmd:if [[ "__GETNODEATTR($$CN,os)__" =~ "rhel" ]];then clock -w;else hwclock -w check:rc==0 cmd:makentp check:rc==0 -cmd:makentp -V -check:output!~Error cmd:curryear=`cat /tmp/currentyear`;date | grep $curryear check:rc==0 check:output=~\d