systemhealthmanagement/systemhealthmgr/test/tsysmon/scripts/shmatest_sysmon_selfmonignore.script
changeset 0 4e1aa6a622a0
equal deleted inserted replaced
-1:000000000000 0:4e1aa6a622a0
       
     1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 PRINT Run SelfMonIgnore test 
       
    17 
       
    18 LOAD_SUITE tsysmon_server
       
    19 
       
    20 START_TESTCASE 			DEVSRVS-SHMA-SYSMON-0006
       
    21 //! @SYMTestCaseID 		DEVSRVS-SHMA-SYSMON-0006
       
    22 //! @SYMPREQ 			PREQ1089 PREQ1871
       
    23 //! @SYMREQ			REQ6594 REQ6598 REQ9457 REQ9266
       
    24 //! @SYMTestType		UT
       
    25 //! @SYMTestPriority		Critical
       
    26 //! @SYMTestStatus 		Implemented
       
    27 //! @SYMTestCaseDesc		Self monitoring with ignore failure should not need any plat sec capability.
       
    28 //! @SYMTestActions		1. Start a process from test-execute test. 
       
    29 //! 				2. Make sure the process has NO caps
       
    30 //! 				3. Assert that Sysmon refuse recoverymethod ERestartOS for MonitorSelf using startupproperties
       
    31 //! 				4. Assert that Sysmon accept recoverymethod EIgnoreOnFailure for MonitorSelf  using startupproperties
       
    32 //! 				5. Kill the process and let it restart.
       
    33 //! 				6. Bonusstep, assert that commandline arguments is preserved when restarting process
       
    34 //! 				7. Cleanup and shutdown
       
    35 //! 				8. Repeat steps 3-7 using ssmstartupproperties
       
    36 //! @SYMTestExpectedResults 	Pass
       
    37 RUN_TEST_STEP 100 tsysmon_server SelfMonIgnore
       
    38 END_TESTCASE 			DEVSRVS-SHMA-SYSMON-0006
       
    39 
       
    40