Bug 936778, Remove OCSP stapling tests that rely on external servers, r=brian
authorKai Engert <kaie@kuix.de>
Wed, 13 Nov 2013 14:42:14 +0100
changeset 10928 e4a168fd75eece8df084d30fd028bc1c946d108f
parent 10927 0e073198dbde7f01c0e28d8487551d08593ab1cb
child 10929 99b8adde480ec3c6d2395bee9f5a622538d0e784
push id213
push userkaie@kuix.de
push dateWed, 13 Nov 2013 13:42:23 +0000
reviewersbrian
bugs936778
Bug 936778, Remove OCSP stapling tests that rely on external servers, r=brian
tests/ocsp/ocsp.sh
--- a/tests/ocsp/ocsp.sh
+++ b/tests/ocsp/ocsp.sh
@@ -44,78 +44,11 @@ ocsp_init()
   SCRIPTNAME=ocsp.sh
   echo "$SCRIPTNAME: OCSP tests ==============================="
 
   REQF=${QADIR}/ssl/sslreq.dat
 
   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