summaryrefslogtreecommitdiff
path: root/tests/ocsp
diff options
context:
space:
mode:
authorKai Engert <kaie@kuix.de>2013-11-13 14:42:14 +0100
committerKai Engert <kaie@kuix.de>2013-11-13 14:42:14 +0100
commit6998127d643035afa48668c0bfaec5db1008084b (patch)
tree90314c15a9440b555a98d06444e4ed2406613ba6 /tests/ocsp
parentea929b785be6a993ff21ad9644b5fc1ea916060e (diff)
downloadnss-hg-6998127d643035afa48668c0bfaec5db1008084b.tar.gz
Bug 936778, Remove OCSP stapling tests that rely on external servers, r=brian
Diffstat (limited to 'tests/ocsp')
-rw-r--r--tests/ocsp/ocsp.sh67
1 files changed, 0 insertions, 67 deletions
diff --git a/tests/ocsp/ocsp.sh b/tests/ocsp/ocsp.sh
index 4e13e0555..246e6e3d4 100644
--- a/tests/ocsp/ocsp.sh
+++ b/tests/ocsp/ocsp.sh
@@ -49,73 +49,6 @@ ocsp_init()
cd ${CLIENTDIR}
}
-ocsp_stapling()
-{
- # Parameter -4 is used as a temporary workaround for lack of IPv6 connectivity
- # on some build bot slaves.
-
- TESTNAME="startssl valid, supports OCSP stapling"
- echo "$SCRIPTNAME: $TESTNAME"
- echo "tstclnt -4 -V tls1.0: -T -v -F -M 1 -O -h kuix.de -p 5143 -d . < ${REQF}"
- ${BINDIR}/tstclnt -4 -V tls1.0: -T -v -F -M 1 -O -h kuix.de -p 5143 -d . < ${REQF}
- html_msg $? 0 "$TESTNAME"
-
-# TESTNAME="startssl revoked, supports OCSP stapling"
-# echo "$SCRIPTNAME: $TESTNAME"
-# echo "tstclnt -4 -V tls1.0: -T -v -F -M 1 -O -h kuix.de -p 5144 -d . < ${REQF}"
-# ${BINDIR}/tstclnt -4 -V tls1.0: -T -v -F -M 1 -O -h kuix.de -p 5144 -d . < ${REQF}
-# html_msg $? 3 "$TESTNAME"
-
- TESTNAME="comodo trial test expired revoked, supports OCSP stapling"
- echo "$SCRIPTNAME: $TESTNAME"
- echo "tstclnt -4 -V tls1.0: -T -v -F -M 1 -O -h kuix.de -p 5145 -d . < ${REQF}"
- ${BINDIR}/tstclnt -4 -V tls1.0: -T -v -F -M 1 -O -h kuix.de -p 5145 -d . < ${REQF}
- html_msg $? 1 "$TESTNAME"
-
- TESTNAME="thawte (expired) valid, supports OCSP stapling"
- echo "$SCRIPTNAME: $TESTNAME"
- echo "tstclnt -4 -V tls1.0: -T -v -F -M 1 -O -h kuix.de -p 5146 -d . < ${REQF}"
- ${BINDIR}/tstclnt -4 -V tls1.0: -T -v -F -M 1 -O -h kuix.de -p 5146 -d . < ${REQF}
- html_msg $? 1 "$TESTNAME"
-
- TESTNAME="thawte (expired) revoked, supports OCSP stapling"
- echo "$SCRIPTNAME: $TESTNAME"
- echo "tstclnt -4 -V tls1.0: -T -v -F -M 1 -O -h kuix.de -p 5147 -d . < ${REQF}"
- ${BINDIR}/tstclnt -4 -V tls1.0: -T -v -F -M 1 -O -h kuix.de -p 5147 -d . < ${REQF}
- html_msg $? 1 "$TESTNAME"
-
- TESTNAME="digicert valid, supports OCSP stapling"
- echo "$SCRIPTNAME: $TESTNAME"
- echo "tstclnt -4 -V tls1.0: -T -v -F -M 1 -O -h kuix.de -p 5148 -d . < ${REQF}"
- ${BINDIR}/tstclnt -4 -V tls1.0: -T -v -F -M 1 -O -h kuix.de -p 5148 -d . < ${REQF}
- html_msg $? 0 "$TESTNAME"
-
- TESTNAME="digicert revoked, supports OCSP stapling"
- echo "$SCRIPTNAME: $TESTNAME"
- echo "tstclnt -4 -V tls1.0: -T -v -F -M 1 -O -h kuix.de -p 5149 -d . < ${REQF}"
- ${BINDIR}/tstclnt -4 -V tls1.0: -T -v -F -M 1 -O -h kuix.de -p 5149 -d . < ${REQF}
- html_msg $? 3 "$TESTNAME"
-
- TESTNAME="live valid, supports OCSP stapling"
- echo "$SCRIPTNAME: $TESTNAME"
- echo "tstclnt -V tls1.0: -T -v -F -M 1 -O -h login.live.com -p 443 -d . < ${REQF}"
- ${BINDIR}/tstclnt -V tls1.0: -T -v -F -M 1 -O -h login.live.com -p 443 -d . < ${REQF}
- html_msg $? 0 "$TESTNAME"
-
- TESTNAME="startssl valid, doesn't support OCSP stapling"
- echo "$SCRIPTNAME: $TESTNAME"
- echo "tstclnt -4 -V tls1.0: -T -v -F -M 1 -O -h kuix.de -p 443 -d . < ${REQF}"
- ${BINDIR}/tstclnt -4 -V tls1.0: -T -v -F -M 1 -O -h kuix.de -p 443 -d . < ${REQF}
- html_msg $? 2 "$TESTNAME"
-
- TESTNAME="cacert untrusted, doesn't support OCSP stapling"
- echo "$SCRIPTNAME: $TESTNAME"
- echo "tstclnt -V tls1.0: -T -v -F -M 1 -O -h www.cacert.org -p 443 -d . < ${REQF}"
- ${BINDIR}/tstclnt -V tls1.0: -T -v -F -M 1 -O -h www.cacert.org -p 443 -d . < ${REQF}
- html_msg $? 1 "$TESTNAME"
-}
-
################## main #################################################
ocsp_init
ocsp_iopr_run
-ocsp_stapling