2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-11-01 11:52:31 +00:00

Add testcase chtab_nonexist_table for chtab CLI

This commit is contained in:
bxuxa
2018-10-17 15:26:58 +08:00
parent 9c6ae3ed6e
commit f3459ae415

View File

@@ -62,6 +62,18 @@ check:output=~Usage
end
start:chtab_nonexist_table
description:chtab with nonexisting table name
label:mn_only,db
cmd:tabch -d key=abc123 nonexist_table1 nonexist_table2
check:rc!=0
check:output=~Table nonexist_table1 does not exist
check:output=~Table nonexist_table2 does not exist
cmd:tabch key=abc123 nonexist_table1.comments="mg"
check:rc!=0
check:output=~Table nonexist_table1 does not exist
end
start:chtab_err_table
description:chtab with error table
label:mn_only,db