systemhealthmanagement/systemhealthmgr/test/tsysmon/scripts/shmatest_sysmon_regeiofcapsnops.script
author Pat Downey <patd@symbian.org>
Wed, 01 Sep 2010 12:34:26 +0100
branchRCL_3
changeset 22 8cb079868133
parent 0 4e1aa6a622a0
permissions -rw-r--r--
Revert incorrect RCL_3 drop: Revision: 201033 Kit: 201035

//
// Copyright (c) 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:
//
//
//! @file
//! @SYMTestSuiteName APPFWK-SYSMON
// 

//
LOAD_SERVER tsysmon_server
//

//! @SYMTestCaseID 		DEVSRVS-SHMA-SYSMON-0019
//! @SYMPREQ 			PREQ1089 PREQ1871
//! @SYMREQ			REQ6595 REQ9457
//! @SYMTestType		CIT
//! @SYMTestPriority		Critical
//! @SYMTestCaseDependencies
//! @SYMTestCaseDesc	Register a process for monitoring, with 'EIgnoreOnFailure' policy, with all capabilities except ProtServ
//! @SYMTestActions		The process to be registered must be running. The process to register the monitoring must have all PlatSec capabilities except ProtServ.
//! Open a connection to the SysMon process. (This will return 'KErrNone'.)
//! Attempt to register the process with the 'EIgnoreOnFailure' policy.
//! @SYMTestExpectedResults 	The attempt to register the process returns 'KErrPermissionDenied'.
//
START_TESTCASE DEVSRVS-SHMA-SYSMON-0019
RUN_PROGRAM 100 setcap tsysmon_app_register.exe FFFFFEFE sysmontest_register_all-protserv.exe
RUN_TEST_STEP 100 tsysmon_server Register z:\shmatest\configs\tsysmon.ini APPFWK-SYSMON-0019
END_TESTCASE DEVSRVS-SHMA-SYSMON-0019