security/nss/tests/libpkix/pkix_tests/results/runTests.sh

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/security/nss/tests/libpkix/pkix_tests/results/runTests.sh	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,36 @@
     1.4 +#!/bin/sh
     1.5 +# 
     1.6 +# This Source Code Form is subject to the terms of the Mozilla Public
     1.7 +# License, v. 2.0. If a copy of the MPL was not distributed with this
     1.8 +# file, You can obtain one at http://mozilla.org/MPL/2.0/.
     1.9 +#
    1.10 +# runTests.sh
    1.11 +#
    1.12 +
    1.13 +curdir=`pwd`
    1.14 +cd ../../common
    1.15 +. ./libpkix_init.sh > /dev/null
    1.16 +. ./libpkix_init_nist.sh
    1.17 +cd ${curdir}
    1.18 +
    1.19 +numtests=0
    1.20 +passed=0
    1.21 +testunit=RESULTS
    1.22 +
    1.23 +
    1.24 +##########
    1.25 +# main
    1.26 +##########
    1.27 +
    1.28 +ParseArgs $*
    1.29 +
    1.30 +RunTests <<EOF
    1.31 +pkixutil test_policynode ${NIST} NIST-Test-Files-Used
    1.32 +pkixutil test_valresult ../../certs
    1.33 +pkixutil test_buildresult ../../certs
    1.34 +pkixutil test_verifynode ${NIST} TrustAnchorRootCertificate.crt GoodCACert.crt ValidCertificatePathTest1EE.crt
    1.35 +EOF
    1.36 +
    1.37 +totalErrors=$?
    1.38 +html_msg ${totalErrors} 0 "&nbsp;&nbsp;&nbsp;${testunit}: passed ${passed} of ${numtests} tests"
    1.39 +exit ${totalErrors}

mercurial