2
0
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:
bxuxa
2018-12-29 15:29:40 +08:00
parent 67a9fab15b
commit 65bf8ead65

View File

@@ -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