systemhealthmanagement/systemhealthmgr/test/tsysmon/scripts/shmatest_sysmon_faileiofcount1fail.script
changeset 0 4e1aa6a622a0
child 52 d6b9e89d80a3
equal deleted inserted replaced
-1:000000000000 0:4e1aa6a622a0
       
     1 //
       
     2 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 // All rights reserved.
       
     4 // This component and the accompanying materials are made available
       
     5 // under the terms of "Eclipse Public License v1.0"
       
     6 // which accompanies this distribution, and is available
       
     7 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 //
       
     9 // Initial Contributors:
       
    10 // Nokia Corporation - initial contribution.
       
    11 //
       
    12 // Contributors:
       
    13 //
       
    14 // Description:
       
    15 //
       
    16 //
       
    17 //! @file
       
    18 //! @SYMTestSuiteName APPFWK-SYSMON
       
    19 // 
       
    20 
       
    21 //
       
    22 LOAD_SERVER tsysmon_server
       
    23 //
       
    24 
       
    25 //! @SYMTestCaseID 		DEVSRVS-SHMA-SYSMON-0034
       
    26 //! @SYMPREQ 			PREQ1089 PREQ1871
       
    27 //! @SYMREQ			REQ6595 REQ6760 REQ9457
       
    28 //! @SYMTestType		CIT
       
    29 //! @SYMTestPriority		Critical
       
    30 //! @SYMTestCaseDependencies	appfwk-sysmon-0034_<emulator|hardware>0.rsc must be used in place of SSCForStartupMode0.rsc
       
    31 //! @SYMTestCaseDesc		Register a process for monitoring with retry limit = 1 and 'EIgnoreOnFailure' policy, fail the process
       
    32 //! @SYMTestActions		A process is registered with the 'EIgnoreOnFailure' policy.
       
    33 //! Fail the process.
       
    34 //! SysMon attempts to restart the process.
       
    35 //! The attempt to restart the process fails.
       
    36 //! @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.
       
    37 //
       
    38 START_TESTCASE DEVSRVS-SHMA-SYSMON-0034
       
    39 RUN_TEST_STEP 100 tsysmon_server RunCountCheck z:\shmatest\configs\tsysmon.ini APPFWK-SYSMON-0034
       
    40 END_TESTCASE DEVSRVS-SHMA-SYSMON-0034