systemhealthmanagement/systemhealthmgr/test/tsysmon/scripts/shmatest_sysmon_restartfail.script
equal
deleted
inserted
replaced
|
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-0040 |
|
26 //! @SYMPREQ PREQ1089 PREQ1871 |
|
27 //! @SYMREQ REQ6599 REQ9457 |
|
28 //! @SYMTestType CIT |
|
29 //! @SYMTestPriority Critical |
|
30 //! @SYMTestCaseDependencies appfwk-sysmon-0040_<emulator|hardware>0.rsc must be used in place of SSCForStartupMode0.rsc |
|
31 //! @SYMTestCaseDesc Trigger a system restart, fail a process ('EIgnoreOnFailure' policy) |
|
32 //! @SYMTestActions Register a process with the 'ERestartOS' failure policy and retry count of 0. |
|
33 //! Register a second process with the 'EIgnoreOnFailure' failure policy and retry count of 1. This process will write to a file to indicate the number of times it has been run. |
|
34 //! Fail the first process then immediately fail the second process. |
|
35 //! @SYMTestExpectedResults The second process is not restarted. The file written to will indicate only 1 run of the second process. |
|
36 // |
|
37 START_TESTCASE DEVSRVS-SHMA-SYSMON-0040 |
|
38 RUN_TEST_STEP 100 tsysmon_server RunCountCheck z:\shmatest\configs\tsysmon.ini APPFWK-SYSMON-0040 |
|
39 END_TESTCASE DEVSRVS-SHMA-SYSMON-0040 |