os/security/cryptomgmtlibs/securitytestfw/test/autotesting/Configuration1_URel.bat
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
sl@0
     1
@rem
sl@0
     2
@rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
sl@0
     3
@rem All rights reserved.
sl@0
     4
@rem This component and the accompanying materials are made available
sl@0
     5
@rem under the terms of the License "Eclipse Public License v1.0"
sl@0
     6
@rem which accompanies this distribution, and is available
sl@0
     7
@rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
sl@0
     8
@rem
sl@0
     9
@rem Initial Contributors:
sl@0
    10
@rem Nokia Corporation - initial contribution.
sl@0
    11
@rem
sl@0
    12
@rem Contributors:
sl@0
    13
@rem
sl@0
    14
@rem Description: 
sl@0
    15
@rem
sl@0
    16
cd \
sl@0
    17
call %SECURITYSOURCEDIR%\os\security\cryptomgmtlibs\securitytestfw\test\autotesting\useautocfg.bat
sl@0
    18
sl@0
    19
rmdir /s /q epoc32\wins\c\
sl@0
    20
rmdir /s /q epoc32\winscw\c\
sl@0
    21
rmdir /s /q epoc32\drive_d\
sl@0
    22
rmdir /s /q epoc32\drive_e\
sl@0
    23
sl@0
    24
xcopy backup\wins\c epoc32\wins\c\ /e
sl@0
    25
xcopy backup\winscw\c epoc32\winscw\c\ /e
sl@0
    26
sl@0
    27
xcopy /y/i/e/s/r/q \epoc32\winscw\c\tswi \epoc32\release\winscw\urel\z\tswi
sl@0
    28
sl@0
    29
xcopy backup\drive_d epoc32\drive_d\ /e
sl@0
    30
xcopy backup\drive_e epoc32\drive_e\ /e
sl@0
    31
sl@0
    32
rmdir /s /q backup
sl@0
    33
sl@0
    34
call \epoc32\release\wins\udeb\ced -dtextshell -- -i c:\auto.cfg
sl@0
    35
call \epoc32\release\winscw\udeb\ced -dtextshell -- -i c:\auto.cfg
sl@0
    36
sl@0
    37
perl %SECURITYSOURCEDIR%\os\security\cryptoservices\certificateandkeymgmt\twtlscert\scripts\batchfiles\certstorePlugins disable_all
sl@0
    38
perl %SECURITYSOURCEDIR%\os\security\cryptoservices\certificateandkeymgmt\twtlscert\scripts\batchfiles\certstorePlugins enable filecertstore.dll
sl@0
    39
sl@0
    40
copy \epoc32\wins\c\tcertstore\data\testkeystore.txt \epoc32\wins\c\system\data\testkeystore.txt
sl@0
    41
copy \epoc32\winscw\c\tcertstore\data\testkeystore.txt \epoc32\winscw\c\system\data\testkeystore.txt
sl@0
    42
sl@0
    43
call %SECURITYSOURCEDIR%\os\security\cryptomgmtlibs\securitytestfw\test\autotesting\installSwiCertStore.bat tcertstore\data\swicertstore.dat
sl@0
    44
call %SECURITYSOURCEDIR%\os\security\cryptomgmtlibs\securitytestfw\test\autotesting\setupSwiPolicy swipolicy.ini
sl@0
    45
sl@0
    46
copy /Y \epoc32\winscw\c\tJavaHelper\trust\midp2_trp.xml \epoc32\RELEASE\WINSCW\UREL\z\private\10203636\security\midp2_trp.xml
sl@0
    47
copy \epoc32\winscw\c\tJavaHelper\trust\security_root5ca.der \epoc32\RELEASE\WINSCW\UREL\z\private\10203636\security\trustroots\device\certificates\security_root5ca.der
sl@0
    48
sl@0
    49
rem Copy eclipsable ROM stub and accompanying files to correct places
sl@0
    50
sl@0
    51
md \epoc32\release\winscw\urel\z\eclipsetest
sl@0
    52
copy /y \epoc32\winscw\c\tswi\teclipsing\data\eclispingteststub.sis \epoc32\release\winscw\urel\z\system\install\eclispingteststub.sis
sl@0
    53
copy /y \epoc32\winscw\c\tswi\teclipsing\data\file1.txt \epoc32\RELEASE\WINSCW\UREL\Z\eclipsetest\file1.txt
sl@0
    54
copy /y \epoc32\winscw\c\tswi\teclipsing\data\file2.txt \epoc32\RELEASE\WINSCW\UREL\Z\eclipsetest\file2.txt
sl@0
    55
copy /y \epoc32\winscw\c\tswi\teclipsing\data\file3.txt \epoc32\RELEASE\WINSCW\UREL\Z\eclipsetest\file3.txt
sl@0
    56
sl@0
    57
copy /y \epoc32\release\winscw\urel\tswisidupgradeexe.exe 	\epoc32\release\winscw\urel\z\sys\bin\tswisidupgradeexe.exe
sl@0
    58
copy /y \epoc32\release\winscw\urel\eclipsetest1.dll		\epoc32\release\winscw\urel\z\sys\bin\eclipsetest.dll
sl@0
    59
sl@0
    60
md \epoc32\release\winscw\urel\z\sys\bin\test\
sl@0
    61
md \epoc32\release\winscw\urel\z\sys\bin\test1\test2\
sl@0
    62
copy /y \epoc32\release\winscw\urel\tswisidcache1.exe 		\epoc32\release\winscw\urel\z\sys\bin\test\testsidcache1.exe
sl@0
    63
copy /y \epoc32\release\winscw\urel\tswisidcache2.exe 		\epoc32\release\winscw\urel\z\sys\bin\test1\test2\testsidcache2.exe