mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-31 01:56:39 +00:00
Merge pull request #2880 from junxiawang/0418N
add rsetboot testcase for issue 2808
This commit is contained in:
commit
daf04f4c55
40
xCAT-test/autotest/testcase/rsetboot/cases0
Normal file
40
xCAT-test/autotest/testcase/rsetboot/cases0
Normal file
@ -0,0 +1,40 @@
|
||||
start:rsetboot_hd_statcheck
|
||||
description:set the boot device from hd
|
||||
cmd:rsetboot $$CN hd
|
||||
check:rc==0
|
||||
check:output=~Hard Drive
|
||||
cmd:rsetboot $$CN stat
|
||||
check:rc==0
|
||||
check:output=~$$CN: Hard Drive
|
||||
end
|
||||
|
||||
start:rsetboot_net_statcheck
|
||||
description:set the boot device from net
|
||||
cmd:rsetboot $$CN net
|
||||
check:rc==0
|
||||
check:output=~Network
|
||||
cmd:rsetboot $$CN stat
|
||||
check:rc==0
|
||||
check:output=~$$CN: Network
|
||||
end
|
||||
|
||||
start:rsetboot_cd_statcheck
|
||||
description:set the boot device from CD/DVD
|
||||
cmd:rsetboot $$CN cd
|
||||
check:rc==0
|
||||
check:output=~CD/DVD
|
||||
cmd:rsetboot $$CN stat
|
||||
check:rc==0
|
||||
check:output=~$$CN: CD/DVD
|
||||
end
|
||||
|
||||
start:rsetboot_default_statcheck
|
||||
description:set the boot device default
|
||||
cmd:rsetboot $$CN default
|
||||
check:rc==0
|
||||
check:output=~boot override inactive
|
||||
cmd:rsetboot $$CN stat
|
||||
check:rc==0
|
||||
check:output=~$$CN: boot override inactive
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user