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:
@@ -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.
|
||||
|
Reference in New Issue
Block a user