telephonyserverplugins/common_tsy/test/component/scripts/mockltsy_copy_ini_file.script
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 31 Aug 2010 16:23:08 +0300
branchRCL_3
changeset 65 630d2f34d719
permissions -rw-r--r--
Revision: 201035 Kit: 201035

//
// 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:
// Copies the file ltsydata_mock.ini from Z: (ROM or simulated ROM) to the C: drive
// Two reasons for doing this are:
//   a) It loads the MockLtsy dll (mocklicenseetsy.dll) as the one to use as the LTsy component
//   b) The file can be edited (or deleted) allowing fall-back to the "normal" licenseetsy.dll
//
//


// 101f7989 is SID of C32.exe so this should already exist
RUN_UTILS MkDir       	c:\private\101f7989

// Copy ltsydata_mock.ini from Z: to C:
RUN_UTILS CopyFile    	 z:\testdata\configs\ltsydata_mock.ini           c:\private\101f7989\ltsydata.ini
RUN_UTILS MakeReadWrite	 c:\private\101f7989\ltsydata.ini