Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
1 #!/bin/sh
2 #
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
6 #
7 # runTests.sh
8 #
10 curdir=`pwd`
11 cd ../../common
12 . ./libpkix_init.sh > /dev/null
13 . ./libpkix_init_nist.sh
14 cd ${curdir}
16 numtests=0
17 passed=0
18 testunit=RESULTS
21 ##########
22 # main
23 ##########
25 ParseArgs $*
27 RunTests <<EOF
28 pkixutil test_policynode ${NIST} NIST-Test-Files-Used
29 pkixutil test_valresult ../../certs
30 pkixutil test_buildresult ../../certs
31 pkixutil test_verifynode ${NIST} TrustAnchorRootCertificate.crt GoodCACert.crt ValidCertificatePathTest1EE.crt
32 EOF
34 totalErrors=$?
35 html_msg ${totalErrors} 0 " ${testunit}: passed ${passed} of ${numtests} tests"
36 exit ${totalErrors}