cryptomgmtlibs/securitytestfw/test/autotesting/runcertman_9.5.bat
changeset 8 35751d3474b7
child 17 cd501b96611d
equal deleted inserted replaced
2:675a964f4eb5 8:35751d3474b7
       
     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 copy /s z:\tpkcs7\ c:\tpkcs7\
       
    17 testexecute c:\tpkcs7\tpkcs7_v2.script
       
    18 move c:\logs\testexecute\tpkcs7_v2.htm e:\testresults\tpkcs7_v2.htm
       
    19 testexecute c:\tpkcs7\tcms.script
       
    20 move c:\logs\testexecute\tcms.htm e:\testresults\tcms.htm
       
    21 testexecute c:\tpkcs7\tinteg_cms.script
       
    22 move c:\logs\testexecute\tinteg_cms.htm e:\testresults\tinteg_cms.htm
       
    23 del /s c:\tpkcs7\
       
    24 
       
    25 rem TCERTSTORE
       
    26 rem copy tcertstore test data
       
    27 copy /s z:\tcertstore\ c:\tcertstore\
       
    28 copy z:\certappmanager.txt c:\certappmanager.txt
       
    29 copy /s z:\unifiedcertstore2\ c:\unifiedcertstore2\
       
    30 copy z:\tcertstore\data\TestKeyStore.txt c:\system\data\testkeystore.txt
       
    31 del c:\system\data\cacerts.dat
       
    32 
       
    33 rem run tcertstore tests
       
    34 t_certstore c:\tcertstore\scripts\unifiedcertstore1-conf1.script c:\logs\testexecute\unifiedcertstore1-conf1.htm
       
    35 move c:\logs\testexecute\unifiedcertstore1-conf1.htm e:\testresults\unifiedcertstore1-conf1.htm
       
    36 
       
    37 del c:\system\data\cacerts.dat
       
    38 del c:\system\data\certclients.dat
       
    39 t_certstore c:\tcertstore\scripts\unifiedcertstore2-conf1.script c:\logs\testexecute\unifiedcertstore2-conf1.htm
       
    40 move c:\logs\testexecute\unifiedcertstore2-conf1.htm e:\testresults\unifiedcertstore2-conf1.htm
       
    41 
       
    42 del c:\system\data\cacerts.dat
       
    43 t_certstore c:\tcertstore\scripts\unifiedcertstore3-conf1.script c:\logs\testexecute\unifiedcertstore3-conf1.htm
       
    44 move c:\logs\testexecute\unifiedcertstore3-conf1.htm e:\testresults\unifiedcertstore3-conf1.htm
       
    45 
       
    46 del c:\system\data\cacerts.dat
       
    47 t_certstore c:\tcertstore\scripts\dsa.script c:\logs\testexecute\tcertstore-dsa.htm
       
    48 move c:\logs\testexecute\tcertstore-dsa.htm e:\testresults\tcertstore-dsa.htm
       
    49 
       
    50 del c:\system\data\cacerts.dat
       
    51 t_certstore c:\tcertstore\scripts\reload.script c:\logs\testexecute\tcertstore-reload.htm
       
    52 move c:\logs\testexecute\tcertstore-reload.htm e:\testresults\tcertstore-reload.htm
       
    53 
       
    54 del c:\system\data\cacerts.dat
       
    55 t_certstore c:\tcertstore\scripts\apipolicing.script c:\logs\testexecute\tcertstore-apipolicing.htm
       
    56 move c:\logs\testexecute\tcertstore-apipolicing.htm e:\testresults\tcertstore-apipolicing.htm
       
    57 
       
    58 del c:\system\data\cacerts.dat
       
    59 t_certstore c:\tcertstore\scripts\filecertstore_errors.script c:\logs\testexecute\tcertstore-errors.htm
       
    60 move c:\logs\testexecute\tcertstore-errors.htm e:\testresults\tcertstore-errors.htm
       
    61 
       
    62 del c:\system\data\cacerts.dat
       
    63 t_certstore c:\tcertstore\scripts\swicertstore1.script c:\logs\testexecute\swicertstore1.htm
       
    64 move c:\logs\testexecute\swicertstore.htm e:\testresults\swicertstore.htm
       
    65 
       
    66 t_certstore c:\tcertstore\scripts\swicertstore4.script c:\logs\testexecute\swicertstore4.htm
       
    67 move c:\logs\testexecute\swicertstore4.htm e:\testresults\swicertstore4.htm
       
    68 
       
    69 del c:\system\data\cacerts.dat
       
    70 t_certstore c:\tcertstore\scripts\wri-swicertstore1.script c:\logs\testexecute\wri-swicertstore1.htm
       
    71 move c:\logs\testexecute\wri-swicertstore1.htm e:\testresults\wri-swicertstore1.htm
       
    72 
       
    73 del c:\system\data\cacerts.dat
       
    74 
       
    75 REM Composite Certstore Configuration CR1393
       
    76 del c:\private\101f72a6\cacerts.dat
       
    77 del c:\private\101f72a6\certclients.dat
       
    78 t_certstore c:\tcertstore\multiple_certstore\scripts\tfilecertstore14.script c:\logs\testexecute\tfilecertstore14.htm
       
    79 move c:\logs\testexecute\tfilecertstore14.htm e:\testresults\tfilecertstore14.htm
       
    80 
       
    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.script c:\logs\testexecute\TOCSP_openssl.htm
       
    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.script c:\logs\testexecute\xcert_local.htm
       
   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.script c:\logs\testexecute\xcert_openssl_local.htm
       
   108 del /s c:\system\tocsp\
       
   109 copy /s z:\system\tocsp\ c:\system\tocsp\
       
   110 
       
   111 tocsp c:\system\tocsp\scripts\error.script c:\logs\testexecute\ocsp_error.htm
       
   112 
       
   113 TOCSP c:\SYSTEM\TOCSP\SCRIPTS\DefaultPolicy.script c:\logs\testexecute\TOCSP_DefaultPolicy.htm
       
   114 
       
   115 rem copy test results to mmc card
       
   116 move c:\logs\testexecute\TOCSP_openssl.htm e:\testresults\TOCSP_openssl.htm
       
   117 move c:\logs\testexecute\xcert_local.htm e:\testresults\xcert_local.htm
       
   118 move c:\logs\testexecute\xcert_openssl_local.htm e:\testresults\xcert_openssl_local.htm
       
   119 move c:\logs\testexecute\ocsp_error.htm e:\testresults\ocsp_error.htm
       
   120 move c:\logs\testexecute\TOCSP_DefaultPolicy.htm e:\testresults\TOCSP_DefaultPolicy.htm
       
   121 
       
   122 rem deleting data on c: to save room and leave slots in root folder
       
   123 del /s c:\system\tocsp\
       
   124 attrib c:\*.* -r
       
   125 del c:\*.*
       
   126 
       
   127 rem TX509
       
   128 rem copy tx509 test data
       
   129 copy /s z:\tx509\ c:\tx509\
       
   130 
       
   131 rem run tx509 tests
       
   132 tx509 \TX509\SCRIPTS\TX509.script c:\logs\testexecute\tx509.htm
       
   133 rem copy results to mmc card 
       
   134 move c:\logs\testexecute\tx509.htm e:\testresults\tx509.htm
       
   135 rem run tx509 distinguished name tests
       
   136 tx509 \tx509\scripts\tx509-dnames.script c:\logs\testexecute\tx509_dnames.htm
       
   137 rem copy results to mmc card
       
   138 move c:\logs\testexecute\tx509_dnames.htm e:\testresults\tx509_dnames.htm
       
   139 rem run tx509 dev certs tests
       
   140 tx509 \TX509\SCRIPTS\TX509_DEV_CERTS.script c:\logs\testexecute\tx509_dev_certs.htm
       
   141 rem copy results to mmc card
       
   142 move c:\logs\testexecute\tx509_dev_certs.htm e:\testresults\tx509_dev_certs.htm
       
   143 rem tidy up
       
   144 del /s c:\tx509\
       
   145 attrib c:\*.* -r
       
   146 del c:\*.*
       
   147 
       
   148 rem TASN1
       
   149 rem run tasn1 tests
       
   150 copy /s z:\tasn1\ c:\tasn1\
       
   151 tasn1 c:\tasn1\scripts\tasn1.script c:\logs\testexecute\tasn1_log.htm
       
   152 rem copy test results to mmc card
       
   153 move c:\logs\testexecute\tasn1_log.htm e:\testresults\TASN1_log.htm
       
   154 del /s c:\tasn1\
       
   155 
       
   156 
       
   157 rem TWTLSCERT
       
   158 rem copy twtlscert test data
       
   159 copy /s z:\twtlscert\ c:\twtlscert\
       
   160 
       
   161 rem run twtlscert tests
       
   162 twtlscert c:\twtlscert\scripts\twtlscert.script c:\logs\testexecute\twtlscert.htm
       
   163 twtlscert c:\twtlscert\scripts\twtlscert1.script c:\logs\testexecute\twtlscert1.htm
       
   164 twtlscert c:\twtlscert\scripts\twtlscert2.script c:\logs\testexecute\twtlscert2.htm
       
   165 twtlscert c:\twtlscert\scripts\twtlscert3.script c:\logs\testexecute\twtlscert3.htm
       
   166 
       
   167 rem copy test results to mmc card 
       
   168 move c:\logs\testexecute\twtlscert.htm e:\testresults\twtlscert.htm
       
   169 move c:\logs\testexecute\twtlscert1.htm e:\testresults\twtlscert1.htm
       
   170 move c:\logs\testexecute\twtlscert2.htm e:\testresults\twtlscert2.htm
       
   171 move c:\logs\testexecute\twtlscert3.htm e:\testresults\twtlscert3.htm
       
   172 
       
   173 del /s c:\twtlscert\
       
   174 attrib c:\*.* -r
       
   175 del c:\*.*
       
   176 
       
   177 rem TPKIXCERT
       
   178 rem copy tpkixcert test data
       
   179 copy /s z:\tpkixcert\ c:\tpkixcert\
       
   180 copy /s z:\pkixtestdata\ c:\pkixtestdata\
       
   181 
       
   182 rem run tpkixcert tests
       
   183 tpkixcert c:\tpkixcert\scripts\tpkixtest_part1.script c:\logs\testexecute\tpkixtest1.htm
       
   184 tpkixcert c:\tpkixcert\scripts\tpkixtest_part2.script c:\logs\testexecute\tpkixtest2.htm
       
   185 tpkixcert c:\tpkixcert\scripts\cancel1.script c:\logs\testexecute\cancel1.htm
       
   186 
       
   187 rem copy test results to mmc card 
       
   188 move c:\logs\testexecute\tpkixtest1.htm e:\testresults\tpkixtest1.htm
       
   189 move c:\logs\testexecute\tpkixtest2.htm e:\testresults\tpkixtest2.htm
       
   190 move c:\logs\testexecute\cancel1.htm e:\testresults\tpkixcancel1.htm
       
   191 
       
   192 attrib c:\*.* -r
       
   193 del c:\*.*
       
   194 
       
   195 REM tpkcs10_v2 - Uses TEF
       
   196 copy /s z:\tpkcs10\ c:\tpkcs10\
       
   197 testexecute c:\tpkcs10\scripts\tpkcs10_v2.script
       
   198 move c:\logs\testexecute\tpkcs10_v2.htm e:\testresults\tpkcs10_v2.htm
       
   199 del /s c:\tpkcs10
       
   200 
       
   201 REM tpkixcert_tef
       
   202 copy /s z:\tpkixcert_tef\ c:\tpkixcert_tef\
       
   203 testexecute c:\tpkixcert_tef\scripts\tpkixcert_tef.script
       
   204 move c:\logs\testexecute\tpkixcert_tef.htm e:\testresults\tpkixcert_tef.htm
       
   205 del /s c:\tpkixcert_tef
       
   206 
       
   207 attrib c:\*.* -r
       
   208 del c:\*.*
       
   209 
       
   210 del c:\system\data\cacerts.dat
       
   211 del c:\system\data\certclients.dat
       
   212 
       
   213 
       
   214