telephonyserverplugins/common_tsy/test/component/scripts/mockltsy_copy_ini_file.script
branchRCL_3
changeset 19 630d2f34d719
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyserverplugins/common_tsy/test/component/scripts/mockltsy_copy_ini_file.script	Tue Aug 31 16:23:08 2010 +0300
@@ -0,0 +1,28 @@
+//
+// 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