2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-18 20:30:56 +00:00

add rsetboot testcase for issue 2808

This commit is contained in:
junxiawang
2017-04-18 08:34:49 -04:00
parent 108f9aaf8f
commit d41c8054c1

View File

@ -0,0 +1,37 @@
start:rsetboot_hd
description:set the boot device from hd
cmd:rsetboot $$CN hd
check:rc==0
check:output=~Hard Drive
end
start:rsetboot_net
description:set the boot device from net
cmd:rsetboot $$CN net
check:rc==0
check:output=~Network
end
start:rsetboot_cd
description:set the boot device from CD/DVD
cmd:rsetboot $$CN cd
check:rc==0
check:output=~CD/DVD
end
start:rsetboot_default
description:set the boot device default
cmd:rsetboot $$CN default
check:rc==0
check:output=~boot override inactive
end
start:rsetboot_stat
description:check the status for rsetboot
cmd:rsetboot $$CN cd
check:rc==0
check:output=~CD/DVD
cmd:rsetboot $$CN stat
check:rc==0
check:output=~CD/DVD
end