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

modify bmcdiscover and rsetboot testcase according to p9 test

This commit is contained in:
junxiawang
2017-05-09 08:04:46 -04:00
parent b22c751d64
commit 2b9aef9a43

View File

@ -52,7 +52,7 @@ end
start:rsetboot_default_statcheck
description:set the boot device default
Attribute: $$CN-The operation object of rsetboot command.
cmd:if [[ -f /tmp/rsetboot.stat ]];then -f mv /tmp/rsetboot.stat /tmp/rsetboot.stat.bak;fi; rsetboot $$CN state > /tmp/rsetboot.stat;
cmd:if [[ -f /tmp/rsetboot.stat ]];then mv -f mv /tmp/rsetboot.stat /tmp/rsetboot.stat.bak;fi; rsetboot $$CN state > /tmp/rsetboot.stat;
check:rc==0
cmd:rsetboot $$CN default
check:rc==0