You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jo...@apache.org on 2018/05/11 11:05:26 UTC
svn commit: r1831400 - /httpd/test/framework/trunk/t/ssl/ocsp.t
Author: jorton
Date: Fri May 11 11:05:26 2018
New Revision: 1831400
URL: http://svn.apache.org/viewvc?rev=1831400&view=rev
Log:
Be a bit more verbose and report the whole subtest as skipped if OCSP
support is not available, otherwise it's reported as three "oks".
Modified:
httpd/test/framework/trunk/t/ssl/ocsp.t
Modified: httpd/test/framework/trunk/t/ssl/ocsp.t
URL: http://svn.apache.org/viewvc/httpd/test/framework/trunk/t/ssl/ocsp.t?rev=1831400&r1=1831399&r2=1831400&view=diff
==============================================================================
--- httpd/test/framework/trunk/t/ssl/ocsp.t (original)
+++ httpd/test/framework/trunk/t/ssl/ocsp.t Fri May 11 11:05:26 2018
@@ -14,19 +14,19 @@ Apache::TestRequest::user_agent_keepaliv
my $url = '/index.html';
-plan tests => 3, need_lwp;
-
Apache::TestRequest::scheme('https');
Apache::TestRequest::module('ssl_ocsp');
# Requires OpenSSL 1.1, can't find a simple way to test for OCSP
# support in earlier versions without messing around with stderr
my $openssl = Apache::TestSSLCA::openssl();
-if (`$openssl list -commands` !~ /ocsp/) {
- skip "no OpenSSL OCSP support" foreach (1..3);
+if (`$openssl fish -commands` !~ /ocsp/) {
+ print "1..0 # skip: No OpenSSL OCSP support";
exit 0;
}
+plan tests => 3, need_lwp;
+
my $r;
sok {