1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/security/nss/tests/libpkix/pkix_tests/store/runTests.sh Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,32 @@ 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 +cd ${curdir} 1.17 + 1.18 +numtests=0 1.19 +passed=0 1.20 +testunit=STORE 1.21 + 1.22 + 1.23 +########## 1.24 +# main 1.25 +########## 1.26 + 1.27 +ParseArgs $* 1.28 + 1.29 +RunTests <<EOF 1.30 +pkixutil test_store genericCertStore rev_data/crlchecker ${HOSTDIR} 1.31 +EOF 1.32 + 1.33 +totalErrors=$? 1.34 +html_msg ${totalErrors} 0 " ${testunit}: passed ${passed} of ${numtests} tests" 1.35 +exit ${totalErrors}