dougm 01/11/16 11:58:10
Modified: perl-framework/Apache-Test/lib/Apache Test.pm
Log:
add have_ssl shortcut
Revision Changes Path
1.33 +5 -0 httpd-test/perl-framework/Apache-Test/lib/Apache/Test.pm
Index: Test.pm
===================================================================
RCS file: /home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/Test.pm,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- Test.pm 2001/11/12 03:06:25 1.32
+++ Test.pm 2001/11/16 19:58:09 1.33
@@ -80,6 +80,11 @@
}
}
+sub have_ssl {
+ my $vars = vars();
+ have_module([$vars->{ssl_module_name}, 'Net::SSL']);
+}
+
sub have_lwp {
require Apache::TestRequest;
if (Apache::TestRequest::has_lwp()) {