From a96774d18ec133793e9b34ae39efa2d3a1464f4a Mon Sep 17 00:00:00 2001 From: amy0701 Date: Fri, 9 Sep 2011 05:14:21 +0000 Subject: [PATCH] add cases for restartxcatd git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10479 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- .../autotest/testcase/restartxcatd/cases0 | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/xCAT-test/autotest/testcase/restartxcatd/cases0 b/xCAT-test/autotest/testcase/restartxcatd/cases0 index 21c7d8f6b..83dd70a6a 100644 --- a/xCAT-test/autotest/testcase/restartxcatd/cases0 +++ b/xCAT-test/autotest/testcase/restartxcatd/cases0 @@ -1,3 +1,18 @@ +start:restartxcatd_v +os:AIX +cmd:restartxcatd -v +check:rc==0 +check:output=~Version +end + +start:restartxcatd_h +os:AIX +cmd:restartxcatd -h +check:rc==0 +cmd:restartxcatd --help +check:rc==0 +end + start:restartxcatd os:AIX cmd:restartxcatd @@ -5,3 +20,13 @@ check:rc==0 check:output=~The xcatd Subsystem was requested to stop check:output=~The xcatd Subsystem has been started. Subsystem PID is \d+ end + +start:restartxcatd_V +os:AIX +cmd:restartxcatd -V +check:output=~Stopped the xcatd subsystem +check:output=~The xcatd Subsystem has been started +check:output=~Running command on +check:output=~Started the xcatd subsystem +end +