telephonyserverplugins/common_tsy/test/component/scripts/mockltsy_copy_ini_file.script
changeset 49 f50f4094acd7
equal deleted inserted replaced
48:14460bf2a402 49:f50f4094acd7
       
     1 //
       
     2 // Copyright (c) 2010 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 // Copies the file ltsydata_mock.ini from Z: (ROM or simulated ROM) to the C: drive
       
    16 // Two reasons for doing this are:
       
    17 //   a) It loads the MockLtsy dll (mocklicenseetsy.dll) as the one to use as the LTsy component
       
    18 //   b) The file can be edited (or deleted) allowing fall-back to the "normal" licenseetsy.dll
       
    19 //
       
    20 //
       
    21 
       
    22 
       
    23 // 101f7989 is SID of C32.exe so this should already exist
       
    24 RUN_UTILS MkDir       	c:\private\101f7989
       
    25 
       
    26 // Copy ltsydata_mock.ini from Z: to C:
       
    27 RUN_UTILS CopyFile    	 z:\testdata\configs\ltsydata_mock.ini           c:\private\101f7989\ltsydata.ini
       
    28 RUN_UTILS MakeReadWrite	 c:\private\101f7989\ltsydata.ini