2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-21 02:30:21 +00:00

update after Jun Xia's comments

This commit is contained in:
caomengmeng
2016-10-25 15:43:20 +08:00
committed by GitHub
parent 4648ef53db
commit 8745b0cd7e

View File

@@ -243,8 +243,7 @@ end
start:lsdef_template_with_invalid_name
os:linux
description:lsdef --template with invalid template name
cmd:lsdef --template | grep "test_with_invalid_name"
check:rc==1
cmd:result=`lsdef | grep test_with_invalid_name`; if [[ $result =~ "test_with_invalid_name" ]]; then noderm test_with_invalid_name; fi
cmd:lsdef --template "test_with_invalid_name"
check:rc==1
check:output=~Error: Could not find test_with_invalid_name in xCAT templates.