mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-23 19:50:21 +00:00
Fixed gettab_err after xcattest improved syntax checking enabled
This commit is contained in:
@@ -18,16 +18,17 @@ check:output=~site.value:
|
||||
end
|
||||
|
||||
start:gettab_err
|
||||
description:gettab with error symble ,error key ,error attr.
|
||||
description:gettab with invalid option, invalid key, and invalid attribute
|
||||
label:mn_only,ci_test,db
|
||||
cmd:gettab -c
|
||||
check:rc!=0
|
||||
check:output=~Usage
|
||||
cmd:gettab -H groups=master site.key
|
||||
check:rc!=0
|
||||
check:output=~Error:
|
||||
cmd:gettab -H key=master site.groups
|
||||
check:rc==0
|
||||
check:output==site.groups:
|
||||
check:output=~^$
|
||||
end
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user