2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-11-25 20:02:19 +00:00
Files
xcat-core/xCAT-test/autotest/testcase/installation
Daniel Hilst e79ba14bcd refactor(xcat-test): move the vmothersetting machine type logic into a helper
reg_linux_diskless_installation_flat sets machine:invalid, a valid
machine type and then no machine type in vmothersetting with three long
inline commands. The bats test for them cut the commands out of the case
file with a regex.

Move the three commands unchanged into commoncmd/vm_machine_type.sh and
call it from the case. The bats test now sources the helper and runs the
case's three steps against a stubbed lsdef and chdef.

Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
2026-10-09 11:46:47 -03:00
..
2022-03-03 14:27:35 -05:00