2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 09:13:08 +00:00

Regression testcase improvements

This commit is contained in:
Mark Gurevich 2021-05-03 10:46:22 -04:00
parent 5fb605bb74
commit a8ef70dea6
5 changed files with 8 additions and 2 deletions

View File

@ -253,3 +253,4 @@ xcatstanzafile_objtype
xcatstanzafile_specificvalue
xcatstanzafile_tab
go_xcat_devel_from_repo
reg_linux_statelite_installation_flat

View File

@ -18,4 +18,3 @@ reg_linux_diskfull_installation_flat
compare_postscripts
reg_linux_diskless_installation_flat
reg_linux_diskless_installation_flat_squashfs
reg_linux_statelite_installation_flat

View File

@ -252,3 +252,4 @@ xcatstanzafile_objtype
xcatstanzafile_specificvalue
xcatstanzafile_tab
go_xcat_devel_from_repo
reg_linux_statelite_installation_flat

View File

@ -18,4 +18,3 @@ reg_linux_diskfull_installation_flat
compare_postscripts
reg_linux_diskless_installation_flat
reg_linux_diskless_installation_flat_squashfs
reg_linux_statelite_installation_flat

View File

@ -107,6 +107,9 @@ cmd:xdsh $$CN "cd /xcatpost; rmdir -p dir1/dir2/dir3"
check:rc==0
cmd:chdef -m -t node -o $$CN postscripts="dir1/dir2/dir3/foo.bar"
check:rc==0
# Remove diskless image to free up disk space
cmd:rmimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netboot-compute
check:rc==0
end
start:reg_linux_diskless_installation_hierarchy_squashfs
@ -206,5 +209,8 @@ cmd:if [ -x /usr/bin/goconserver ]; then makegocons -d $$CN; else makeconserverc
cmd:if [[ -f /test.synclist.bak ]] ;then mv -f /test.synclist.bak /test.synclist;else rm -rf /test.synclist;fi
cmd:chdef -t osimage -o __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netboot-compute synclists=
check:rc==0
# Remove diskless image to free up disk space
cmd:rmimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netboot-compute
check:rc==0
end