From a886959135699e3c1d32395498bd45b8fa34fc3a Mon Sep 17 00:00:00 2001 From: Wai Yee Wong Date: Wed, 18 Aug 2021 12:41:59 -0400 Subject: [PATCH] Add two more output checking statements --- .../testcase/installation/reg_linux_diskless_installation_flat | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xCAT-test/autotest/testcase/installation/reg_linux_diskless_installation_flat b/xCAT-test/autotest/testcase/installation/reg_linux_diskless_installation_flat index e113918f5..e46cacdb5 100644 --- a/xCAT-test/autotest/testcase/installation/reg_linux_diskless_installation_flat +++ b/xCAT-test/autotest/testcase/installation/reg_linux_diskless_installation_flat @@ -52,6 +52,7 @@ cmd:if [ "__GETNODEATTR($$CN,arch)__" != "ppc64" -a "__GETNODEATTR($$CN,mgt)__ check:rc==0 cmd:lsdef $$CN | grep vmothersetting check:rc==0 +check:output=~invalid cmd:tabdump kvm_nodedata | egrep '/name|machine' | grep -v partition check:rc==0 cmd:/opt/xcat/share/xcat/tools/autotest/testcase/commoncmd/retry_install.sh $$CN __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netboot-compute 1 @@ -64,6 +65,7 @@ cmd:if [ "__GETNODEATTR($$CN,arch)__" != "ppc64" -a "__GETNODEATTR($$CN,mgt)__ check:rc==0 cmd:lsdef $$CN | grep vmothersetting check:rc==0 +check:output=~machine: cmd:tabdump kvm_nodedata | egrep '/name|machine' | grep -v partition check:rc==0 cmd:/opt/xcat/share/xcat/tools/autotest/testcase/commoncmd/retry_install.sh $$CN __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netboot-compute