git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10022 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
amy0701 2011-07-06 08:25:11 +00:00
parent f5600c7b64
commit 0882a463ed

View File

@ -1,3 +1,10 @@
start:tabrestore_null
description:tabrestore without any flag
cmd:tabrestore
check:rc!=0
check:output=~Usage
end
start:tabrestore_table
cmd:tabdump site > /tmp/site.csv
check:rc==0
@ -11,3 +18,16 @@ cmd:diff /tmp/site1.csv /tmp/site.csv
check:rc==0
cmd:rm -f /tmp/site.csv /tmp/site1.csv
end
start:tabrestore_h
cmd:tabrestore -h
check:output=~Usage
end
start:tabrestore_err
description:tabrestore wrong.csv
cmd:tabrestore wrong.csv
check:rc!=0
check:output=~Error
end