mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-05-08 17:50:09 +00:00
8bb7671a23
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>