httpd-test-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n.@apache.org
Subject cvs commit: httpd-test/perl-framework/t/modules include.t
Date Fri, 29 Aug 2003 00:05:32 GMT
nd          2003/08/28 17:05:32

  Modified:    perl-framework/t/conf include.conf.in
               perl-framework/t/modules include.t
  Added:       perl-framework/t/htdocs/modules/include echo1.shtml
                        echo2.shtml
  Log:
  add some undefined echo tests
  
  Revision  Changes    Path
  1.2       +4 -0      httpd-test/perl-framework/t/conf/include.conf.in
  
  Index: include.conf.in
  ===================================================================
  RCS file: /home/cvs/httpd-test/perl-framework/t/conf/include.conf.in,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- include.conf.in	13 Aug 2003 01:28:47 -0000	1.1
  +++ include.conf.in	29 Aug 2003 00:05:32 -0000	1.2
  @@ -53,6 +53,10 @@
           SSIStartTag --->
           SSIEndTag   printenw
       </VirtualHost>
  +
  +    <VirtualHost echo1:mod_include>
  +        SSIUndefinedEcho "<!-- pass undefined echo -->"
  +    </VirtualHost>
       </IfDefine>
   
   </IfModule>
  
  
  
  1.1                  httpd-test/perl-framework/t/htdocs/modules/include/echo1.shtml
  
  Index: echo1.shtml
  ===================================================================
  <!--#echo var="undefined variable" -->
  
  
  
  1.1                  httpd-test/perl-framework/t/htdocs/modules/include/echo2.shtml
  
  Index: echo2.shtml
  ===================================================================
  <!--#echo var="undefined variable" -->
  <!--#config echomsg="pass" -->
  <!--#echo var="undefined variable" -->
  <!--#config echomsg="config" -->
  <!--#echo var="undefined variable" -->
  <!--#config echomsg="echomsg" -->
  <!--#echo var="undefined variable" -->
  <!--#config echomsg="pass" -->
  <!--#echo var="undefined variable" -->
  
  
  
  1.40      +6 -0      httpd-test/perl-framework/t/modules/include.t
  
  Index: include.t
  ===================================================================
  RCS file: /home/cvs/httpd-test/perl-framework/t/modules/include.t,v
  retrieving revision 1.39
  retrieving revision 1.40
  diff -u -r1.39 -r1.40
  --- include.t	25 Aug 2003 03:01:41 -0000	1.39
  +++ include.t	29 Aug 2003 00:05:32 -0000	1.40
  @@ -11,6 +11,7 @@
   my($res, $str, $doc);
   my $dir = "/modules/include/";
   my $have_apache_2 = have_apache 2;
  +my $have_apache_21 = have_min_apache_version "2.1.0";
   my $vars = Apache::Test::vars();
   my $docroot = $vars->{documentroot};
   
  @@ -92,7 +93,12 @@
           "echo.shtml"      => ['<!--#echo var="DOCUMENT_NAME" -->', "retagged1"],

           "retagged1.shtml" => ["retagged1.shtml",                   "retagged1"],
           "retagged2.shtml" => ["----retagged2.shtml",               "retagged1"],
  +        "echo1.shtml"     => ["<!-- pass undefined echo -->",      "echo1"   
],
       );
  +    if ($have_apache_21) {
  +        $t_test{"echo2.shtml"} = ["<!-- pass undefined echo -->  pass  config ".
  +                                  " echomsg  pass", "echo1"];
  +    }
   }
   
   my @patterns = (
  
  
  

Mime
View raw message