add testcases for xcatsnap
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10442 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
1a5aef37ad
commit
82a39b6179
37
xCAT-test/autotest/testcase/xcatsnap/cases0
Normal file
37
xCAT-test/autotest/testcase/xcatsnap/cases0
Normal file
@ -0,0 +1,37 @@
|
||||
start:xcatsnap_null
|
||||
description:xcatsnap with no argument
|
||||
cmd:xcatsnap
|
||||
check:rc==0
|
||||
check:output=~Send .* to IBM Support
|
||||
end
|
||||
|
||||
|
||||
start:xcatsnap_b_d
|
||||
description:xcatsnap -B -d
|
||||
cmd:xcatsnap -B -d /tmp/testdir
|
||||
check:rc==0
|
||||
check:output=~Send .* to IBM Support
|
||||
cmd:rm -rf /tmp/testdir
|
||||
end
|
||||
|
||||
|
||||
|
||||
start:xcatsnap_h
|
||||
description:xcatsnap -h and --help
|
||||
cmd:xcatsnap -h
|
||||
check:output=~Usage
|
||||
cmd:xcatsnap --help
|
||||
check:output=~Usage
|
||||
end
|
||||
|
||||
|
||||
start;xcatsnap_v
|
||||
description:xcatsnap -v and --version
|
||||
cmd:xcatsnap -v
|
||||
check:output=~version|Version
|
||||
cmd:xcatsnamp --version
|
||||
check:output=~version|Version
|
||||
end
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user