systemhealthmanagement/systemhealthmgr/test/tsysmon/scripts/shmatest_sysmon_faileiofcount1fail.script
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 31 Aug 2010 16:29:05 +0300
branchRCL_3
changeset 21 ccb4f6b3db21
parent 0 4e1aa6a622a0
child 22 8cb079868133
permissions -rw-r--r--
Revision: 201033 Kit: 201035

//
// Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
//
//
//! @file
//! @SYMTestSuiteName APPFWK-SYSMON
// 

//
LOAD_SERVER tsysmon_server
//

//! @SYMTestCaseID 		DEVSRVS-SHMA-SYSMON-0034
//! @SYMPREQ 			PREQ1089 PREQ1871
//! @SYMREQ			REQ6595 REQ6760 REQ9457
//! @SYMTestType		CIT
//! @SYMTestPriority		Critical
//! @SYMTestCaseDependencies	appfwk-sysmon-0034_<emulator|hardware>0.rsc is merged with noncriticalcmdlist.rsc
//! @SYMTestCaseDesc		Register a process for monitoring with retry limit = 1 and 'EIgnoreOnFailure' policy, fail the process
//! @SYMTestActions		A process is registered with the 'EIgnoreOnFailure' policy.
//! Fail the process.
//! SysMon attempts to restart the process.
//! The attempt to restart the process fails.
//! @SYMTestExpectedResults 	The process is not restarted and no other action is taken – the process should no longer be registered. This is not an error, so no error code is generated. In debug builds, the failure to restart the process will be written to a log file. The slave process will have been run twice.
//
START_TESTCASE DEVSRVS-SHMA-SYSMON-0034
RUN_TEST_STEP 100 tsysmon_server RunCountCheck z:\shmatest\configs\tsysmon.ini APPFWK-SYSMON-0034
END_TESTCASE DEVSRVS-SHMA-SYSMON-0034