systemhealthmanagement/systemhealthmgr/test/tsysmon/scripts/shmatest_sysmon_failecnorcount1fail.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-0054
//! @SYMPREQ PREQ1871
//! @SYMREQ REQ9457 REQ9107
//! @SYMTestType CIT
//! @SYMTestPriority Critical
//! @SYMTestCaseDependencies appfwk-sysmon-0054_<emulator|hardware>0.rsc must be used in place of SSCForStartupMode0.rsc
//! @SYMTestCaseDesc Register a process for monitoring with retry limit = 1 and 'ECriticalNoRetries' policy, fail the process
//! @SYMTestActions A process is registered with the 'ECriticalNoRetries' policy.
//! Fail the process.
//!
//! @SYMTestExpectedResults The system is restarted and when restarted the process is not launched (and so is not registered). The slave process will have been run only once.
//
START_TESTCASE DEVSRVS-SHMA-SYSMON-0054
RUN_TEST_STEP 100 tsysmon_server RunCountCheck z:\shmatest\configs\tsysmon.ini APPFWK-SYSMON-0054
END_TESTCASE DEVSRVS-SHMA-SYSMON-0054