mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-19 17:50:20 +00:00
modify rsetboot test dure to failed cases
This commit is contained in:
@@ -56,10 +56,10 @@ cmd:if [[ -f /tmp/rsetboot.stat ]];then mv -f /tmp/rsetboot.stat /tmp/rsetboot.s
|
||||
check:rc==0
|
||||
cmd:rsetboot $$CN default
|
||||
check:rc==0
|
||||
check:output=~boot override inactive
|
||||
check:output=~boot override inactive|Default
|
||||
cmd:rsetboot $$CN stat
|
||||
check:rc==0
|
||||
check:output=~$$CN: boot override inactive
|
||||
check:output=~boot override inactive|$$CN: Default
|
||||
cmd:if [[ `grep CD /tmp/rsetboot.stat` ]];then rsetboot $$CN cd;elif [[ `grep Network /tmp/rsetboot.stat` ]];then rsetboot $$CN net;else rsetboot $$CN hd;fi
|
||||
check:rc==0
|
||||
cmd:if [[ -f /tmp/rsetboot.stat.bak ]];then mv -f /tmp/rsetboot.stat.bak /tmp/rsetboot.stat;else rm -rf /tmp/rsetboot.stat;fi
|
||||
@@ -120,7 +120,7 @@ description:rsetboot node using invalidaction
|
||||
Attribute: $$CN-The operation object of rsetboot command.
|
||||
cmd:rsetboot $$CN dsdf
|
||||
check:rc!=0
|
||||
check:output=~Error: unsupported command
|
||||
check:output=~Error: unsupported command|Unsupported command
|
||||
end
|
||||
|
||||
start:rsetboot_group_net
|
||||
|
Reference in New Issue
Block a user