diff options
Diffstat (limited to 'security/nss/cmd/fipstest/runtest.sh')
-rw-r--r-- | security/nss/cmd/fipstest/runtest.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/security/nss/cmd/fipstest/runtest.sh b/security/nss/cmd/fipstest/runtest.sh new file mode 100644 index 000000000..99cefed77 --- /dev/null +++ b/security/nss/cmd/fipstest/runtest.sh @@ -0,0 +1,17 @@ +#!/bin/sh +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +TESTDIR=${1-.} +COMMAND=${2-run} +TESTS="aes aesgcm dsa ecdsa hmac tls rng rsa sha tdea" +if [ ${NSS_ENABLE_ECC}x = 1x ]; then + TESTS=${TESTS} ecdsa +fi +for i in $TESTS +do + echo "********************Running $i tests" + sh ./${i}.sh ${TESTDIR} ${COMMAND} +done |