2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-22 19:20:24 +00:00

Merge pull request #4850 from hu-weihua/testcase

Fix bug for test case rspconfig_set_hostname_equal_star_with_bmc_is_hostname
This commit is contained in:
xuweibj
2018-02-27 14:29:52 +08:00
committed by GitHub
2 changed files with 5 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ end
start:reventlog_all
cmd:reventlog $$CN all
check:rc==0
check:output=~$$CN\s*:\s*.*\d\d/\d\d/\d\d\s*\S+
check:output=~$$CN\s*:\s*.*\d\d/\d\d/\d\d\s*\S+|No attributes returned from the BMC
end
start:reventlog_clear
@@ -19,7 +19,7 @@ end
start:reventlog_numofentries
cmd:reventlog $$CN 5
check:rc==0
check:output=~$$CN\s*:\s*.*\d\d/\d\d/\d\d\s*\S+|$$CN: no SEL entries|Entry
check:output=~$$CN\s*:\s*.*\d\d/\d\d/\d\d\s*\S+|$$CN: no SEL entries|Entry|No attributes returned from the BMC
end
start:reventlog_s_openbmc

View File

@@ -269,7 +269,9 @@ cmd:mkdir -p /tmp/rspconfig_set_hostname_equal_star_with_bmc_is_hostname
check:rc == 0
cmd:lsdef $$CN -z > /tmp/rspconfig_set_hostname_equal_star_with_bmc_is_hostname/$$CN.stanza
check:rc == 0
cmd:chdef -t node -o bogus_bmc_hostname groups=bmc ip=10.6.17.100
cmd:chdef -t node -o bogus_bmc_hostname groups=bmc ip=__GETNODEATTR($$CN,bmc)__
check:rc == 0
cmd:lsdef bogus_bmc_hostname
check:rc == 0
cmd:makehosts bogus_bmc_hostname
check:rc == 0