2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 09:36:41 +00:00

87 Commits

Author SHA1 Message Date
besawn
ee759c065d Modified xcattest check:output to enforce stricter syntax checking 2022-04-21 16:02:29 -04:00
besawn
0bf020f200 Added additional validation to check:output 2022-04-21 15:47:14 -04:00
Wai Yee Wong
19b6ee3b5a Improve reporting of invalid OS, ARCH and HCP 2020-10-29 10:06:24 -04:00
Chen Hanxiao
8bb7671a23 xcattest: proper replace vars in test cases
xcattest will replace vars in testcases.
But vars with same prefix will lead to a replacement failure.

Issue:
XCATTEST_PORT=500 XCATTEST_CN=xcat-com001 XCATTEST_PDU=xmount XCATTEST_PDUIP=192.168.200.100 xcattest -t mkdef_pdu_object

cmd:mkdef $$PDU groups=pdu ip=$$PDUIP mgt=pdu nodetype=pdu

will be:

RUN:mkdef xmount groups=pdu ip=xmountIP mgt=pdu nodetype=pdu

$$PDUIP had no chance to be substituted.

Reported-by: Yang Jian <fun_yang@foxmail.com>
Signed-off-by: Chen Hanxiao <chen_han_xiao@126.com>
2020-06-09 16:54:43 +08:00
Wai Yee Wong
c58a9ab092 Fix a typo from xcat-inventory to xcat_inventory 2020-03-02 15:34:39 -05:00
cxhong
5fd937b133 Add isserv to sle15 pkglist 2020-01-14 09:49:48 -05:00
Weihua Hu
c0a7154bf6 fix issue 5881: xcattest failed to add component directory name as default label (#5882) 2018-12-11 13:42:54 +08:00
Weihua Hu
5559e44b4a enhance xcattest for issue 5773 and task 383 (#5782) 2018-11-09 18:25:27 +08:00
Weihua Hu
2220828d78 fix bug #5612 of xcattest (#5613) 2018-09-07 11:14:19 +08:00
GONG Jie
0864fac6d4 Remove trailing spaces in file xCAT-test/xcattest 2017-12-31 23:59:59 +00:00
Weihua Hu
f894700087 Make xcattest can supprot multiple values for key words hcp and arch (#5379) 2018-07-09 13:25:00 +08:00
Weihua Hu
69d4ef25af Refine option l of xcattest (#5293) 2018-06-22 17:22:59 +08:00
robin2008
c6745a3dd5 enhance xcattest for better debug new case and acquire attribute not only for node:
- to support customize the testcase dir with environment variable XCATTEST_CASEDIR
 - to allow to print more debug info with environment variable XCATTEST_DEBUG
 - to add a new func to get general object attribute (__GETOBJECTATTR(...)__)
2018-06-20 09:13:29 +08:00
Weihua Hu
61cbe03b93 Enhance xcattest to support label search (#5280)
* enhance xcattest to support label search
2018-06-13 17:32:05 +08:00
hu-weihua
4dbd36c3da add more test cases for validation 2018-03-20 05:27:16 -04:00
hu-weihua
bad2b94585 To handle one case which have 2 implementations, which one is for specific platform, on is for all platforms 2017-12-01 01:02:11 -05:00
Victor Hu
11ee234896 Add space between at and the time 2017-11-27 10:55:53 -05:00
Weihua Hu
27dea1a2a9 fix issue #4354 :The XCATTEST_CN in xcattest can not detect HCP as config file (#4355) 2017-11-21 02:23:00 -06:00
hu-weihua
b627f069f4 enhance to better support the cases which have the same case name but with multiple implementation 2017-11-13 22:31:37 -05:00
hu-weihua
499a619577 modify depending on baiyuan's comment 2017-11-10 04:29:26 -05:00
hu-weihua
5add18f790 Fix bugs for xcattest: 3411,4189,3138,4204 2017-11-09 23:58:09 -05:00
hu-weihua
570daf3fa4 Fix typo in test case 2017-09-20 01:37:21 -04:00
Bin Xu
6e9825f0d1 1, test case for nodeset -V to show server info
2, allow xcattest get 'var' type config from environment variable when no config file specified.
For example, when given 'XCATTEST_CN=fake1', xcattest will set $$CN=fake1
2017-08-03 16:45:44 +08:00
hu-weihua
d1b823b4b3 fix bug: failed to load config file which value include comma in object section 2017-07-20 03:46:46 -04:00
hu-weihua
5215b690f9 Modify one bug:Use of implicit split to @_ is deprecated at xcattest line 1059 2017-06-06 02:47:52 -04:00
hu-weihua
5056bea7db modify typo 2017-05-31 05:13:06 -04:00
hu-weihua
78bc818748 Modify 2 bugs for xcattest 2017-05-31 01:26:43 -04:00
hu-weihua
21c955467a Fix automation bug: xcattest failed to load case depending on arch label 2017-05-24 03:47:52 -04:00
hu-weihua
aeb2f4e5fa Modify a typo for xcattest 2017-05-22 22:27:16 -04:00
hu-weihua
a290657965 Fix bug: failed to handle multiple cases with the same case name 2017-05-22 04:16:41 -04:00
hu-weihua
b57f085b81 Run all cases specified by command line, do not skip invalid case 2017-05-19 04:12:13 -04:00
Weihua Hu
6c8002cddd [DO NOT MERGE] Refine xcattest script (#3048)
* Simplify xcattest usage

* Modify usage depending on Mark's comments
2017-05-18 02:05:48 -05:00
hu-weihua
8c78894655 Add attribute label to xcattest 2017-04-21 01:50:50 -04:00
hu-weihua
a0f4ddaf9e Add timestamp to every cmd for xcattest failedcases log 2017-04-17 01:15:42 -04:00
hu-weihua
21a9d1499c Add timestamp for every cmd log in xcatteat log 2017-04-12 21:41:41 -04:00
caomengmeng
42ec75fd25 update xcattest after review 2016-11-03 10:24:00 +08:00
caomengmeng
97f6fc8083 update xcattest completed 2016-10-31 04:45:18 -04:00
penguhyang
b2132fd4db fix execute xcattest related command there are error message 2016-10-25 21:36:05 -04:00
penguhyang
0ef5070afc Enhance xcattest to support include in bundle file 2016-10-18 00:52:25 -04:00
caomengmeng
ad100dfb56 update xcattest after PR 2016-09-20 02:36:00 -04:00
caomengmeng
e3a07ac4f2 complete 9.13 2016-09-13 04:59:59 -04:00
caomengmeng
06109e8dff update after review V1 2016-09-13 01:58:11 -04:00
caomengmeng
07f6eba13e updated V1 2016-09-08 23:48:31 -04:00
caomengmeng
83270bf120 complete V1 2016-09-08 08:47:35 -04:00
caomengmeng
ae51b3358d version 1 after review 2016-09-05 05:37:03 -04:00
caomengmeng
cb7b48070f update option check,-f/-b files check and delete -l output files 2016-08-09 04:51:27 -04:00
Mark Gurevich
db9a71750e Fix sytax errors reported by perltidy 2016-07-25 08:56:18 -04:00
Mark Gurevich
fb911143fe perltidy all perl files, part 2 2016-07-21 13:27:40 -04:00
Xiaopeng Wang
591e0a2674 Merge pull request #1237 from hu-weihua/xcattest1223
Fix issue1223 : xcattest -c does not work for command list
2016-06-01 10:46:29 +08:00
hu-weihua
e7417e9b51 fix issue 1223 xcattest -c does not work for command list 2016-05-31 22:20:14 -04:00