From c394e535c60120dd37d0ba056658e0d535a44702 Mon Sep 17 00:00:00 2001 From: litingt Date: Tue, 29 Jan 2019 21:57:19 -0500 Subject: [PATCH] Add test case for issue 2727 : run xCAT in XCATBYPASS mode and simply reload xCAT to check if there is any errors --- xCAT-test/autotest/testcase/xcatd/case0 | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/xCAT-test/autotest/testcase/xcatd/case0 b/xCAT-test/autotest/testcase/xcatd/case0 index 4a8203f15..8a0e113ce 100644 --- a/xCAT-test/autotest/testcase/xcatd/case0 +++ b/xCAT-test/autotest/testcase/xcatd/case0 @@ -160,4 +160,20 @@ cmd:chtab name=root policy.commands= policy.rule=allow check:rc==0 end - +start:reload_xcatd_with_XCATBYPASS +description:with XCATBYPASS=YES, there is no error when restart xcatd deamon. This case is add test case for issue 2727 : run xCAT in "XCATBYPASS" mode and simply reload xCAT to check if there is any errors. +label:mn_only,ci_test,xcatd +cmd:service xcatd status +check:rc==0 +check:output=~xcatd service|xcatd.service +check:output=~xcatd service is running|active \(running\) +cmd:XCATBYPASS=YES lsxcatd -a +check:rc==0 +check:output!=~Error|ERROR +cmd:XCATBYPASS=YES service xcatd status +check:rc==0 +check:output!=~Error|ERROR +cmd:XCATBYPASS=YES service xcatd restart +check:rc==0 +check:output!=~Error|ERROR +end