httpd-test-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject cvs commit: httpd-test/perl-framework/Apache-Test/lib/Apache Test.pm
Date Sun, 19 May 2002 07:57:33 GMT
stas        02/05/19 00:57:33

  Modified:    perl-framework/Apache-Test/lib/Apache Test.pm
  Log:
  document recent changes in have_module()
  
  Revision  Changes    Path
  1.46      +23 -2     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.45
  retrieving revision 1.46
  diff -u -r1.45 -r1.46
  --- Test.pm	23 Apr 2002 15:43:52 -0000	1.45
  +++ Test.pm	19 May 2002 07:57:33 -0000	1.46
  @@ -445,9 +445,30 @@
     plan tests => 5, have_module qw(CGI Find::File);
     plan tests => 5, have_module ['CGI', 'Find::File', 'cgid'];
   
  -Requires Apache C and Perl modules. In case of C modules, the test
  -will be done by prefixing I<mod_>. The function accept a list of
  +Requires Apache C and Perl modules. The function accept a list of
   arguments or a reference to a list.
  +
  +In case of C modules, depending on how the module name was passed it
  +may pass through the following completions:
  +
  +=over
  +
  +=item 1 have_module 'proxy_http.c'
  +
  +If there is the I<.c> extension, the module name will be looked up as
  +is, i.e. I<'proxy_http.c'>.
  +
  +=item 2 have_module 'mod_cgi'
  +
  +The I<.c> extension will be appended before the lookup, turning it into
  +I<'mod_cgi.c'>.
  +
  +=item 3 have_module 'cgi'
  +
  +The I<.c> extension and I<mod_> prefix will be added before the
  +lookup, turning it into I<'mod_cgi.c'>.
  +
  +=back
   
   =item have
   
  
  
  

Mime
View raw message