|
1 @rem |
|
2 @rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 @rem All rights reserved. |
|
4 @rem This component and the accompanying materials are made available |
|
5 @rem under the terms of the License "Eclipse Public License v1.0" |
|
6 @rem which accompanies this distribution, and is available |
|
7 @rem at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 @rem |
|
9 @rem Initial Contributors: |
|
10 @rem Nokia Corporation - initial contribution. |
|
11 @rem |
|
12 @rem Contributors: |
|
13 @rem |
|
14 @rem Description: |
|
15 @rem |
|
16 REM PKCS7 tests - uses testexecute framework |
|
17 copy /s z:\tpkcs7\ c:\tpkcs7\ |
|
18 testexecute c:\tpkcs7\tpkcs7_v2.script |
|
19 move c:\logs\testexecute\tpkcs7_v2.htm e:\testresults\tpkcs7_v2.htm |
|
20 testexecute c:\tpkcs7\tcms.script |
|
21 move c:\logs\testexecute\tcms.htm e:\testresults\tcms.htm |
|
22 testexecute c:\tpkcs7\tinteg_cms.script |
|
23 move c:\logs\testexecute\tinteg_cms.htm e:\testresults\tinteg_cms.htm |
|
24 del /s c:\tpkcs7\ |
|
25 |
|
26 rem TCERTSTORE |
|
27 rem copy tcertstore test data |
|
28 copy /s z:\tcertstore\ c:\tcertstore\ |
|
29 copy z:\certappmanager.txt c:\certappmanager.txt |
|
30 copy /s z:\unifiedcertstore2\ c:\unifiedcertstore2\ |
|
31 copy z:\tcertstore\data\TestKeyStore.txt c:\system\data\testkeystore.txt |
|
32 del c:\system\data\cacerts.dat |
|
33 |
|
34 rem run tcertstore tests |
|
35 t_certstore c:\tcertstore\scripts\unifiedcertstore1-conf1.txt c:\testresults\unifiedcertstore1-conf1.txt |
|
36 move c:\testresults\unifiedcertstore1-conf1.txt e:\testresults\unifiedcertstore1-conf1.txt |
|
37 |
|
38 del c:\system\data\cacerts.dat |
|
39 del c:\system\data\certclients.dat |
|
40 t_certstore c:\tcertstore\scripts\unifiedcertstore2-conf1.txt c:\testresults\unifiedcertstore2-conf1.txt |
|
41 move c:\testresults\unifiedcertstore2-conf1.txt e:\testresults\unifiedcertstore2-conf1.txt |
|
42 |
|
43 del c:\system\data\cacerts.dat |
|
44 t_certstore c:\tcertstore\scripts\unifiedcertstore3-conf1.txt c:\testresults\unifiedcertstore3-conf1.txt |
|
45 move c:\testresults\unifiedcertstore3-conf1.txt e:\testresults\unifiedcertstore3-conf1.txt |
|
46 |
|
47 del c:\system\data\cacerts.dat |
|
48 t_certstore c:\tcertstore\scripts\dsa.txt c:\testresults\tcertstore-dsa.txt |
|
49 move c:\testresults\tcertstore-dsa.txt e:\testresults\tcertstore-dsa.txt |
|
50 |
|
51 del c:\system\data\cacerts.dat |
|
52 t_certstore c:\tcertstore\scripts\reload.txt c:\testresults\tcertstore-reload.txt |
|
53 move c:\testresults\tcerstore-reload.txt e:\testresults\tcertstore-reload.txt |
|
54 |
|
55 del c:\system\data\cacerts.dat |
|
56 t_certstore c:\tcertstore\scripts\apipolicing.txt c:\testresults\tcertstore-apipolicing.txt |
|
57 move c:\testresults\tcertstore-apipolicing.txt e:\testresults\tcertstore-apipolicing.txt |
|
58 |
|
59 del c:\system\data\cacerts.dat |
|
60 t_certstore c:\tcertstore\scripts\filecertstore_errors.txt c:\testresults\tcertstore-errors.txt |
|
61 move c:\testresults\tcertstore-errors.txt e:\testresults\tcertstore-errors.txt |
|
62 |
|
63 del c:\system\data\cacerts.dat |
|
64 t_certstore c:\tcertstore\scripts\swicertstore1.txt c:\testresults\swicertstore.txt |
|
65 move c:\testresults\swicertstore.txt e:\testresults\swicertstore.txt |
|
66 |
|
67 t_certstore c:\tcertstore\scripts\swicertstore4.txt c:\testresults\swicertstore4.txt |
|
68 move c:\testresults\swicertstore4.txt e:\testresults\swicertstore4.txt |
|
69 |
|
70 del c:\system\data\cacerts.dat |
|
71 t_certstore c:\tcertstore\scripts\wri-swicertstore1.txt c:\testresults\wri-swicertstore.txt |
|
72 move c:\testresults\wri-swicertstore.txt e:\testresults\wri-swicertstore.txt |
|
73 |
|
74 del c:\system\data\cacerts.dat |
|
75 |
|
76 REM Composite Certstore Configuration CR1393 |
|
77 del c:\private\101f72a6\cacerts.dat |
|
78 del c:\private\101f72a6\certclients.dat |
|
79 t_certstore c:\tcertstore\multiple_certstore\scripts\tfilecertstore14.txt c:\testresults\tfilecertstore14.txt |
|
80 move c:\testresults\tfilecertstore14.txt e:\testresults\tfilecertstore14.txt |
|
81 del c:\private\101f72a6\cacerts.dat |
|
82 del c:\private\101f72a6\certclients.dat |
|
83 |
|
84 rem deleting data on c: to save room and leave slots in root folder |
|
85 del /s c:\unifiedcertstore2\ |
|
86 del /s c:\tcertstore\ |
|
87 del c:\certappmanager.txt |
|
88 attrib c:\*.* -r |
|
89 del c:\*.* |
|
90 |
|
91 rem TOCSP |
|
92 rem copy tocsp test data |
|
93 copy /s z:\system\tocsp\ c:\system\tocsp\ |
|
94 del c:\system\data\cacerts.dat |
|
95 |
|
96 rem run tocsp tests |
|
97 tocsp c:\system\tocsp\scripts\openssl.txt c:\testresults\tocsp_openssl.log |
|
98 del /s c:\system\tocsp\ |
|
99 copy /s z:\system\tocsp\ c:\system\tocsp\ |
|
100 |
|
101 |
|
102 tocsp c:\system\tocsp\scripts\xcert-local.txt c:\testresults\tocsp_xcert_local.log |
|
103 del /s c:\system\tocsp\ |
|
104 copy /s z:\system\tocsp\ c:\system\tocsp\ |
|
105 |
|
106 |
|
107 tocsp c:\system\tocsp\scripts\openssl-local.txt c:\testresults\tocsp_openssl_local.log |
|
108 del /s c:\system\tocsp\ |
|
109 copy /s z:\system\tocsp\ c:\system\tocsp\ |
|
110 |
|
111 tocsp c:\system\tocsp\scripts\error.txt c:\testresults\tocsp_error.log |
|
112 |
|
113 tocsp c:\system\tocsp\scripts\defaultpolicy.txt c:\testresults\tocsp_defaultpolicy.log |
|
114 |
|
115 tocsp c:\system\tocsp\scripts\httpinterface.txt c:\testresults\tocsp_httpinterface.log |
|
116 |
|
117 rem copy test results to mmc card |
|
118 move c:\testresults\tocsp_openssl.log e:\testresults\tocsp_openssl.log |
|
119 move c:\testresults\tocsp_xcert_local.log e:\testresults\tocsp_xcert_local.log |
|
120 move c:\testresults\tocsp_openssl_local.log e:\testresults\tocsp_openssl_local.log |
|
121 move c:\testresults\tocsp_error.log e:\testresults\tocsp_error.log |
|
122 move c:\testresults\tocsp_defaultpolicy.log e:\testresults\tocsp_defaultpolicy.log |
|
123 move c:\testresults\tocsp_httpinterface.log e:\testresults\tocsp_httpinterface.log |
|
124 |
|
125 rem deleting data on c: to save room and leave slots in root folder |
|
126 del /s c:\system\tocsp\ |
|
127 attrib c:\*.* -r |
|
128 del c:\*.* |
|
129 |
|
130 rem TX509 |
|
131 rem copy tx509 test data |
|
132 copy /s z:\tx509\ c:\tx509\ |
|
133 |
|
134 rem run tx509 tests |
|
135 tx509 \TX509\SCRIPTS\TX509.TXT c:\testresults\tx509.log |
|
136 rem copy results to mmc card |
|
137 move c:\testresults\tx509.log e:\testresults\tx509.log |
|
138 rem run tx509 distinguished name tests |
|
139 tx509 \tx509\scripts\tx509-dnames.txt c:\testresults\tx509_dnames.log |
|
140 rem copy results to mmc card |
|
141 move c:\testresults\tx509_dnames.log e:\testresults\tx509_dnames.log |
|
142 rem run tx509 dev certs tests |
|
143 tx509 \TX509\SCRIPTS\TX509_DEV_CERTS.TXT c:\testresults\tx509_dev_certs.log |
|
144 rem copy results to mmc card |
|
145 move c:\testresults\tx509_dev_certs.log e:\testresults\tx509_dev_certs.log |
|
146 rem tidy up |
|
147 del /s c:\tx509\ |
|
148 attrib c:\*.* -r |
|
149 del c:\*.* |
|
150 |
|
151 rem TASN1 |
|
152 rem run tasn1 tests |
|
153 copy /s z:\tasn1\ c:\tasn1\ |
|
154 tasn1 c:\tasn1\scripts\tasn1.txt c:\testresults\tasn1_log.txt |
|
155 rem copy test results to mmc card |
|
156 move c:\testresults\tasn1_log.txt e:\testresults\TASN1_log.txt |
|
157 del /s c:\tasn1\ |
|
158 |
|
159 |
|
160 rem TWTLSCERT |
|
161 rem copy twtlscert test data |
|
162 copy /s z:\twtlscert\ c:\twtlscert\ |
|
163 |
|
164 rem run twtlscert tests |
|
165 twtlscert c:\twtlscert\scripts\twtlscert.txt c:\testresults\twtlscert.log |
|
166 twtlscert c:\twtlscert\scripts\twtlscert1.txt c:\testresults\twtlscert1.log |
|
167 twtlscert c:\twtlscert\scripts\twtlscert2.txt c:\testresults\twtlscert2.log |
|
168 twtlscert c:\twtlscert\scripts\twtlscert3.txt c:\testresults\twtlscert3.log |
|
169 |
|
170 rem copy test results to mmc card |
|
171 move c:\testresults\twtlscert.log e:\testresults\twtlscert.log |
|
172 move c:\testresults\twtlscert1.log e:\testresults\twtlscert1.log |
|
173 move c:\testresults\twtlscert2.log e:\testresults\twtlscert2.log |
|
174 move c:\testresults\twtlscert3.log e:\testresults\twtlscert3.log |
|
175 |
|
176 del /s c:\twtlscert\ |
|
177 attrib c:\*.* -r |
|
178 del c:\*.* |
|
179 |
|
180 rem TPKIXCERT |
|
181 rem copy tpkixcert test data |
|
182 copy /s z:\tpkixcert\ c:\tpkixcert\ |
|
183 copy /s z:\pkixtestdata\ c:\pkixtestdata\ |
|
184 |
|
185 rem run tpkixcert tests |
|
186 tpkixcert c:\tpkixcert\scripts\tpkixtest_part1.txt c:\testresults\tpkixtest1.txt |
|
187 tpkixcert c:\tpkixcert\scripts\tpkixtest_part2.txt c:\testresults\tpkixtest2.txt |
|
188 tpkixcert c:\tpkixcert\scripts\cancel1.txt c:\testresults\cancel1.txt |
|
189 |
|
190 rem copy test results to mmc card |
|
191 move c:\testresults\tpkixtest1.txt e:\testresults\tpkixtest1.txt |
|
192 move c:\testresults\tpkixtest2.txt e:\testresults\tpkixtest2.txt |
|
193 move c:\testresults\cancel1.txt e:\testresults\tpkixcancel1.txt |
|
194 |
|
195 attrib c:\*.* -r |
|
196 del c:\*.* |
|
197 |
|
198 REM tpkcs10_v2 - Uses TEF |
|
199 copy /s z:\tpkcs10\ c:\tpkcs10\ |
|
200 testexecute c:\tpkcs10\scripts\tpkcs10_v2.script |
|
201 move c:\logs\testexecute\tpkcs10_v2.htm e:\testresults\tpkcs10_v2.htm |
|
202 del /s c:\tpkcs10 |
|
203 |
|
204 REM tpkixcert_tef |
|
205 copy /s z:\tpkixcert_tef\ c:\tpkixcert_tef\ |
|
206 testexecute c:\tpkixcert_tef\scripts\tpkixcert_tef.script |
|
207 move c:\logs\testexecute\tpkixcert_tef.htm e:\testresults\tpkixcert_tef.htm |
|
208 del /s c:\tpkixcert_tef |
|
209 |
|
210 |
|
211 attrib c:\*.* -r |
|
212 del c:\*.* |
|
213 |
|
214 del c:\system\data\cacerts.dat |
|
215 del c:\system\data\certclients.dat |
|
216 |
|
217 |
|
218 |