systemhealthmanagement/systemhealthmgr/test/tsysmon/scripts/shmatest_sysmon_selfmonignore.script
// Copyright (c) 2007-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:
//
PRINT Run SelfMonIgnore test
LOAD_SUITE tsysmon_server
START_TESTCASE DEVSRVS-SHMA-SYSMON-0006
//! @SYMTestCaseID DEVSRVS-SHMA-SYSMON-0006
//! @SYMPREQ PREQ1089 PREQ1871
//! @SYMREQ REQ6594 REQ6598 REQ9457 REQ9266
//! @SYMTestType UT
//! @SYMTestPriority Critical
//! @SYMTestStatus Implemented
//! @SYMTestCaseDesc Self monitoring with ignore failure should not need any plat sec capability.
//! @SYMTestActions 1. Start a process from test-execute test.
//! 2. Make sure the process has NO caps
//! 3. Assert that Sysmon refuse recoverymethod ERestartOS for MonitorSelf using startupproperties
//! 4. Assert that Sysmon accept recoverymethod EIgnoreOnFailure for MonitorSelf using startupproperties
//! 5. Kill the process and let it restart.
//! 6. Bonusstep, assert that commandline arguments is preserved when restarting process
//! 7. Cleanup and shutdown
//! 8. Repeat steps 3-7 using ssmstartupproperties
//! @SYMTestExpectedResults Pass
RUN_TEST_STEP 100 tsysmon_server SelfMonIgnore
END_TESTCASE DEVSRVS-SHMA-SYSMON-0006