From 82a39b617953121d17e2302575553188bac15d12 Mon Sep 17 00:00:00 2001 From: amy0701 Date: Mon, 5 Sep 2011 02:36:22 +0000 Subject: [PATCH] add testcases for xcatsnap git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10442 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-test/autotest/testcase/xcatsnap/cases0 | 37 +++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 xCAT-test/autotest/testcase/xcatsnap/cases0 diff --git a/xCAT-test/autotest/testcase/xcatsnap/cases0 b/xCAT-test/autotest/testcase/xcatsnap/cases0 new file mode 100644 index 000000000..58030d661 --- /dev/null +++ b/xCAT-test/autotest/testcase/xcatsnap/cases0 @@ -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 + + +