os/security/cryptomgmtlibs/securitytestfw/test/autotesting/Configuration1_URel.bat
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/security/cryptomgmtlibs/securitytestfw/test/autotesting/Configuration1_URel.bat	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,63 @@
     1.4 +@rem
     1.5 +@rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     1.6 +@rem All rights reserved.
     1.7 +@rem This component and the accompanying materials are made available
     1.8 +@rem under the terms of the License "Eclipse Public License v1.0"
     1.9 +@rem which accompanies this distribution, and is available
    1.10 +@rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.11 +@rem
    1.12 +@rem Initial Contributors:
    1.13 +@rem Nokia Corporation - initial contribution.
    1.14 +@rem
    1.15 +@rem Contributors:
    1.16 +@rem
    1.17 +@rem Description: 
    1.18 +@rem
    1.19 +cd \
    1.20 +call %SECURITYSOURCEDIR%\os\security\cryptomgmtlibs\securitytestfw\test\autotesting\useautocfg.bat
    1.21 +
    1.22 +rmdir /s /q epoc32\wins\c\
    1.23 +rmdir /s /q epoc32\winscw\c\
    1.24 +rmdir /s /q epoc32\drive_d\
    1.25 +rmdir /s /q epoc32\drive_e\
    1.26 +
    1.27 +xcopy backup\wins\c epoc32\wins\c\ /e
    1.28 +xcopy backup\winscw\c epoc32\winscw\c\ /e
    1.29 +
    1.30 +xcopy /y/i/e/s/r/q \epoc32\winscw\c\tswi \epoc32\release\winscw\urel\z\tswi
    1.31 +
    1.32 +xcopy backup\drive_d epoc32\drive_d\ /e
    1.33 +xcopy backup\drive_e epoc32\drive_e\ /e
    1.34 +
    1.35 +rmdir /s /q backup
    1.36 +
    1.37 +call \epoc32\release\wins\udeb\ced -dtextshell -- -i c:\auto.cfg
    1.38 +call \epoc32\release\winscw\udeb\ced -dtextshell -- -i c:\auto.cfg
    1.39 +
    1.40 +perl %SECURITYSOURCEDIR%\os\security\cryptoservices\certificateandkeymgmt\twtlscert\scripts\batchfiles\certstorePlugins disable_all
    1.41 +perl %SECURITYSOURCEDIR%\os\security\cryptoservices\certificateandkeymgmt\twtlscert\scripts\batchfiles\certstorePlugins enable filecertstore.dll
    1.42 +
    1.43 +copy \epoc32\wins\c\tcertstore\data\testkeystore.txt \epoc32\wins\c\system\data\testkeystore.txt
    1.44 +copy \epoc32\winscw\c\tcertstore\data\testkeystore.txt \epoc32\winscw\c\system\data\testkeystore.txt
    1.45 +
    1.46 +call %SECURITYSOURCEDIR%\os\security\cryptomgmtlibs\securitytestfw\test\autotesting\installSwiCertStore.bat tcertstore\data\swicertstore.dat
    1.47 +call %SECURITYSOURCEDIR%\os\security\cryptomgmtlibs\securitytestfw\test\autotesting\setupSwiPolicy swipolicy.ini
    1.48 +
    1.49 +copy /Y \epoc32\winscw\c\tJavaHelper\trust\midp2_trp.xml \epoc32\RELEASE\WINSCW\UREL\z\private\10203636\security\midp2_trp.xml
    1.50 +copy \epoc32\winscw\c\tJavaHelper\trust\security_root5ca.der \epoc32\RELEASE\WINSCW\UREL\z\private\10203636\security\trustroots\device\certificates\security_root5ca.der
    1.51 +
    1.52 +rem Copy eclipsable ROM stub and accompanying files to correct places
    1.53 +
    1.54 +md \epoc32\release\winscw\urel\z\eclipsetest
    1.55 +copy /y \epoc32\winscw\c\tswi\teclipsing\data\eclispingteststub.sis \epoc32\release\winscw\urel\z\system\install\eclispingteststub.sis
    1.56 +copy /y \epoc32\winscw\c\tswi\teclipsing\data\file1.txt \epoc32\RELEASE\WINSCW\UREL\Z\eclipsetest\file1.txt
    1.57 +copy /y \epoc32\winscw\c\tswi\teclipsing\data\file2.txt \epoc32\RELEASE\WINSCW\UREL\Z\eclipsetest\file2.txt
    1.58 +copy /y \epoc32\winscw\c\tswi\teclipsing\data\file3.txt \epoc32\RELEASE\WINSCW\UREL\Z\eclipsetest\file3.txt
    1.59 +
    1.60 +copy /y \epoc32\release\winscw\urel\tswisidupgradeexe.exe 	\epoc32\release\winscw\urel\z\sys\bin\tswisidupgradeexe.exe
    1.61 +copy /y \epoc32\release\winscw\urel\eclipsetest1.dll		\epoc32\release\winscw\urel\z\sys\bin\eclipsetest.dll
    1.62 +
    1.63 +md \epoc32\release\winscw\urel\z\sys\bin\test\
    1.64 +md \epoc32\release\winscw\urel\z\sys\bin\test1\test2\
    1.65 +copy /y \epoc32\release\winscw\urel\tswisidcache1.exe 		\epoc32\release\winscw\urel\z\sys\bin\test\testsidcache1.exe
    1.66 +copy /y \epoc32\release\winscw\urel\tswisidcache2.exe 		\epoc32\release\winscw\urel\z\sys\bin\test1\test2\testsidcache2.exe