2018-05-04 16:08:28 +02:00
|
|
|
#!/bin/bash
|
2015-10-21 05:03:22 +02:00
|
|
|
#
|
2018-05-04 16:08:28 +02:00
|
|
|
# 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/.
|
2015-10-21 05:03:22 +02:00
|
|
|
|
|
|
|
|
|
|
|
if [ -z "${CLEANUP}" -o "${CLEANUP}" = "${SCRIPTNAME}" ]; then
|
|
|
|
echo
|
|
|
|
echo "SUMMARY:"
|
|
|
|
echo "========"
|
|
|
|
echo "NSS variables:"
|
|
|
|
echo "--------------"
|
|
|
|
echo "HOST=${HOST}"
|
|
|
|
echo "DOMSUF=${DOMSUF}"
|
|
|
|
echo "BUILD_OPT=${BUILD_OPT}"
|
|
|
|
echo "USE_64=${USE_64}"
|
|
|
|
echo "NSS_CYCLES=\"${NSS_CYCLES}\""
|
|
|
|
echo "NSS_TESTS=\"${NSS_TESTS}\""
|
|
|
|
echo "NSS_SSL_TESTS=\"${NSS_SSL_TESTS}\""
|
|
|
|
echo "NSS_SSL_RUN=\"${NSS_SSL_RUN}\""
|
|
|
|
echo "NSS_AIA_PATH=${NSS_AIA_PATH}"
|
|
|
|
echo "NSS_AIA_HTTP=${NSS_AIA_HTTP}"
|
|
|
|
echo "NSS_AIA_OCSP=${NSS_AIA_OCSP}"
|
2018-05-04 16:08:28 +02:00
|
|
|
echo "IOPR_HOSTADDR_LIST=${IOPR_HOSTADDR_LIST}"
|
|
|
|
echo "PKITS_DATA=${PKITS_DATA}"
|
2015-10-21 05:03:22 +02:00
|
|
|
echo
|
|
|
|
echo "Tests summary:"
|
|
|
|
echo "--------------"
|
|
|
|
LINES_CNT=$(cat ${RESULTS} | grep ">Passed<" | wc -l | sed s/\ *//)
|
|
|
|
echo "Passed: ${LINES_CNT}"
|
|
|
|
LINES_CNT=$(cat ${RESULTS} | grep ">Failed<" | wc -l | sed s/\ *//)
|
|
|
|
echo "Failed: ${LINES_CNT}"
|
|
|
|
LINES_CNT=$(cat ${RESULTS} | grep ">Failed Core<" | wc -l | sed s/\ *//)
|
|
|
|
echo "Failed with core: ${LINES_CNT}"
|
|
|
|
LINES_CNT=$(cat ${RESULTS} | grep ">Unknown<" | wc -l | sed s/\ *//)
|
|
|
|
echo "Unknown status: ${LINES_CNT}"
|
|
|
|
if [ ${LINES_CNT} -gt 0 ]; then
|
|
|
|
echo "TinderboxPrint:Unknown: ${LINES_CNT}"
|
|
|
|
fi
|
|
|
|
echo
|
|
|
|
|
|
|
|
html "END_OF_TEST<BR>"
|
|
|
|
html "</BODY></HTML>"
|
|
|
|
rm -f ${TEMPFILES} 2>/dev/null
|
|
|
|
fi
|