mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-26 21:20:29 +00:00
mkdef for existing object now will return 1
This commit is contained in:
@@ -164,8 +164,7 @@ os:Linux
|
||||
description:test mkdef works as design when netname exists.
|
||||
label:mn_only,ci_test,db
|
||||
cmd:netname=`lsdef -t network |cut -d" " -f1 |sed -n '1p'`;mkdef -t network -o $netname
|
||||
check:rc==0
|
||||
check:output=~(already exists)
|
||||
check:rc==1
|
||||
end
|
||||
|
||||
start:mkdef_netname_notexist_without_net_mask
|
||||
|
Reference in New Issue
Block a user