systemhealthmanagement/systemhealthmgr/test/tsysmon/scripts/shmatest_sysmon_criticalnoretries.script
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/systemhealthmanagement/systemhealthmgr/test/tsysmon/scripts/shmatest_sysmon_criticalnoretries.script Tue Aug 31 16:29:05 2010 +0300
@@ -0,0 +1,39 @@
+// Copyright (c) 2010 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 CriticalNoRetries test
+
+LOAD_SUITE tsysmon_server
+
+START_TESTCASE DEVSRVS-SHMA-SYSMON-0054
+//! @SYMTestCaseID DEVSRVS-SHMA-SYSMON-0054
+//! @SYMPREQ
+//! @SYMREQ
+//! @SYMTestType UT
+//! @SYMTestPriority Critical
+//! @SYMTestStatus Implemented
+//! @SYMTestCaseDesc A process with ECriticalNoRetries recovery policy restarts the OS without retrying to restart the process
+//! @SYMTestActions 1. Start a process
+//! 2. Call RSysMonSession::Monitor() using startupproperties for this process with EWaitForStart, retry count = 1,
+//! and ECriticalNoRetries
+//! 3. Kill the process
+//! 4. The test shouldn't try to start the process again. It should restart the OS without any retries - this
+//! is the actual test
+//! @SYMTestExpectedResults pass
+RUN_TEST_STEP 100 tsysmon_server CriticalNoRetriesStep
+END_TESTCASE DEVSRVS-SHMA-SYSMON-0054
+
+RUN_UTILS MakeReadWrite c:\testdata\runcounts\tsysmon_app_dontrendezvous.exe.txt
+RUN_UTILS DeleteFile c:\testdata\runcounts\tsysmon_app_dontrendezvous.exe.txt
\ No newline at end of file