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:
37
xCAT-test/autotest/testcase/rsetboot/cases0
Normal file
37
xCAT-test/autotest/testcase/rsetboot/cases0
Normal 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
|
Reference in New Issue
Block a user