|
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 # |
|
9 |
|
10 curdir=`pwd` |
|
11 cd ../../common |
|
12 . ./libpkix_init.sh > /dev/null |
|
13 cd ${curdir} |
|
14 |
|
15 numtests=0 |
|
16 passed=0 |
|
17 testunit=STORE |
|
18 |
|
19 |
|
20 ########## |
|
21 # main |
|
22 ########## |
|
23 |
|
24 ParseArgs $* |
|
25 |
|
26 RunTests <<EOF |
|
27 pkixutil test_store genericCertStore rev_data/crlchecker ${HOSTDIR} |
|
28 EOF |
|
29 |
|
30 totalErrors=$? |
|
31 html_msg ${totalErrors} 0 " ${testunit}: passed ${passed} of ${numtests} tests" |
|
32 exit ${totalErrors} |