systemhealthmanagement/systemhealthmgr/test/tsysmon/scripts/shmatest_sysmon_restartfailwithmode2.script
//
// Copyright (c) 2009 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-0042
//! @SYMPREQ PREQ1089 PREQ1871
//! @SYMREQ REQ6599 REQ9457
//! @SYMTestType CIT
//! @SYMTestPriority Critical
//! @SYMTestCaseDependencies appfwk-sysmon-0042_<emulator|hardware>0.rsc must be used in place of SSCForStartupMode0.rsc
//! @SYMTestCaseDesc Trigger a system restart, fail a process ('ERestartOSWithMode' policy)
//! @SYMTestActions The process is registered with the 'ERestartOS' failure policy and a retry count of 0.
//! Register a second process with the 'ERestartOSWithMode' failure policy, a mode that is different from the default one and retry count of 0.
//! Fail the first process then immediately fail the second process.
//! @SYMTestExpectedResults The system restarts in the current startup mode (and, specifically, not in the mode specified by the second registration).
//
START_TESTCASE DEVSRVS-SHMA-SYSMON-0042
RUN_TEST_STEP 100 tsysmon_server ResultCheck z:\shmatest\configs\tsysmon.ini APPFWK-SYSMON-0042
END_TESTCASE DEVSRVS-SHMA-SYSMON-0042