From d41c8054c1ef54cf72986483dd3771e38fd0c95b Mon Sep 17 00:00:00 2001 From: junxiawang Date: Tue, 18 Apr 2017 08:34:49 -0400 Subject: [PATCH] add rsetboot testcase for issue 2808 --- xCAT-test/autotest/testcase/rsetboot/cases0 | 37 +++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 xCAT-test/autotest/testcase/rsetboot/cases0 diff --git a/xCAT-test/autotest/testcase/rsetboot/cases0 b/xCAT-test/autotest/testcase/rsetboot/cases0 new file mode 100644 index 000000000..a86916222 --- /dev/null +++ b/xCAT-test/autotest/testcase/rsetboot/cases0 @@ -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