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

Packit 40b132
#!/bin/sh
Packit 40b132
# 
Packit 40b132
# This Source Code Form is subject to the terms of the Mozilla Public
Packit 40b132
# License, v. 2.0. If a copy of the MPL was not distributed with this
Packit 40b132
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
Packit 40b132
#
Packit 40b132
# runTests.sh
Packit 40b132
#
Packit 40b132
Packit 40b132
curdir=`pwd`
Packit 40b132
cd ../../common
Packit 40b132
. ./libpkix_init.sh > /dev/null
Packit 40b132
. ./libpkix_init_nist.sh
Packit 40b132
cd ${curdir}
Packit 40b132
Packit 40b132
numtests=0
Packit 40b132
passed=0
Packit 40b132
testunit=RESULTS
Packit 40b132
Packit 40b132
Packit 40b132
##########
Packit 40b132
# main
Packit 40b132
##########
Packit 40b132
Packit 40b132
ParseArgs $*
Packit 40b132
Packit 40b132
RunTests <
Packit 40b132
pkixutil test_policynode ${NIST} NIST-Test-Files-Used
Packit 40b132
pkixutil test_valresult ../../certs
Packit 40b132
pkixutil test_buildresult ../../certs
Packit 40b132
pkixutil test_verifynode ${NIST} TrustAnchorRootCertificate.crt GoodCACert.crt ValidCertificatePathTest1EE.crt
Packit 40b132
EOF
Packit 40b132
Packit 40b132
totalErrors=$?
Packit 40b132
html_msg ${totalErrors} 0 "   ${testunit}: passed ${passed} of ${numtests} tests"
Packit 40b132
exit ${totalErrors}