1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/security/nss/tests/libpkix/pkix_tests/certsel/runTests.sh Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,33 @@ 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=CERTSEL 1.22 + 1.23 +########## 1.24 +# main 1.25 +########## 1.26 + 1.27 +ParseArgs $* 1.28 + 1.29 +RunTests <<EOF 1.30 +pkixutil test_comcertselparams ${NIST} NIST-Test-Files-Used 1.31 +pkixutil test_certselector ${NIST} NIST-Test-Files-Used ../../pkix_pl_tests/module/rev_data 1.32 +EOF 1.33 + 1.34 +totalErrors=$? 1.35 +html_msg ${totalErrors} 0 " ${testunit}: passed ${passed} of ${numtests} tests" 1.36 +exit ${totalErrors}