From ee5a4d8c40791918b17551bf9419df0339037a13 Mon Sep 17 00:00:00 2001 From: junxiawang Date: Wed, 19 Apr 2017 03:04:13 -0400 Subject: [PATCH] modify rsetboot testcase for comments --- xCAT-test/autotest/testcase/rsetboot/cases0 | 39 +++++++++++---------- 1 file changed, 21 insertions(+), 18 deletions(-) diff --git a/xCAT-test/autotest/testcase/rsetboot/cases0 b/xCAT-test/autotest/testcase/rsetboot/cases0 index a86916222..4c9de3fb8 100644 --- a/xCAT-test/autotest/testcase/rsetboot/cases0 +++ b/xCAT-test/autotest/testcase/rsetboot/cases0 @@ -1,37 +1,40 @@ -start:rsetboot_hd +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 +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 +start:rsetboot_cd_statcheck 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 +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 +