xcat-core/xCAT-test/autotest/testcase/gettab/cases0
amy0701 c85a5a81fb update
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11261 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-12-16 08:54:43 +00:00

40 lines
740 B
Plaintext

start:gettab_key_table
cmd:gettab key=xcatdport site.value
check:rc==0
check:output==3001
end
start:gettab_H
description:gettab -H and --with-fieldname
cmd:gettab -H key=master site.value
check:rc==0
check:output=~site.value:
cmd:gettab --with-fieldname key=master site.value
check:rc==0
check:output=~site.value:
end
start:gettab_err
description:gettab with error symble ,error key ,error attr.
cmd:gettab -c
check:rc!=0
check:output=~Usage
cmd:gettab -H groups=master site.key
check:rc!=0
cmd:gettab -H key=master site.groups
check:rc==0
check:output=site.groups:
end
start:gettab_h
description:gettab -h and -? and --help
cmd:gettab -h
check:output=~Usage
cmd:gettab -?
check:output=~Usage
cmd:gettab --help
check:output=~Usage
end