From 120c7380d0c69de016a28d1a1105e4569f411910 Mon Sep 17 00:00:00 2001 From: Mark Gurevich Date: Wed, 28 Apr 2021 08:54:12 -0400 Subject: [PATCH] Fix testcase command and operator for prsync --- .../reg_linux_statelite_installation_hierarchy_by_nfs | 4 ++-- .../reg_linux_statelite_installation_hierarchy_by_ramdisk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/xCAT-test/autotest/testcase/installation/reg_linux_statelite_installation_hierarchy_by_nfs b/xCAT-test/autotest/testcase/installation/reg_linux_statelite_installation_hierarchy_by_nfs index fb936f761..5027166db 100644 --- a/xCAT-test/autotest/testcase/installation/reg_linux_statelite_installation_hierarchy_by_nfs +++ b/xCAT-test/autotest/testcase/installation/reg_linux_statelite_installation_hierarchy_by_nfs @@ -74,11 +74,11 @@ cmd:liteimg __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-comput check:rc==0 #Before doing prsync of /install to the service node, check if there is enough space there cmd:du -sh /install -cmd:xdsh $$SN du -H +cmd:xdsh $$SN df -H cmd:prsync /install $$SN:/ check:rc==0 check:output=~$$SN: done -check:output!=write failed +check:output!~write failed cmd:/opt/xcat/share/xcat/tools/autotest/testcase/commoncmd/retry_install.sh $$CN __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute check:rc==0 diff --git a/xCAT-test/autotest/testcase/installation/reg_linux_statelite_installation_hierarchy_by_ramdisk b/xCAT-test/autotest/testcase/installation/reg_linux_statelite_installation_hierarchy_by_ramdisk index 99c460198..ea2ab343c 100644 --- a/xCAT-test/autotest/testcase/installation/reg_linux_statelite_installation_hierarchy_by_ramdisk +++ b/xCAT-test/autotest/testcase/installation/reg_linux_statelite_installation_hierarchy_by_ramdisk @@ -67,11 +67,11 @@ cmd:liteimg __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-comput check:rc==0 #Before doing prsync of /install to the service node, check if there is enough space there cmd:du -sh /install -cmd:xdsh $$SN du -H +cmd:xdsh $$SN df -H cmd:prsync /install $$SN:/ check:rc==0 check:output=~$$SN: done -check:output!=write failed +check:output!~write failed cmd:/opt/xcat/share/xcat/tools/autotest/testcase/commoncmd/retry_install.sh $$CN __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute check:rc==0