httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s.@apache.org
Subject svn commit: r945879 - /httpd/test/framework/trunk/t/modules/info.t
Date Tue, 18 May 2010 20:53:44 GMT
Author: sf
Date: Tue May 18 20:53:43 2010
New Revision: 945879

URL: http://svn.apache.org/viewvc?rev=945879&view=rev
Log:
Fix for shared MPM builds

Modified:
    httpd/test/framework/trunk/t/modules/info.t

Modified: httpd/test/framework/trunk/t/modules/info.t
URL: http://svn.apache.org/viewvc/httpd/test/framework/trunk/t/modules/info.t?rev=945879&r1=945878&r2=945879&view=diff
==============================================================================
--- httpd/test/framework/trunk/t/modules/info.t (original)
+++ httpd/test/framework/trunk/t/modules/info.t Tue May 18 20:53:43 2010
@@ -19,10 +19,15 @@ my (@actual,@expected) = ((),());
 ## extract module names from html ##
 foreach (split /\n/, $info) {
     if ($_ =~ /<a name=\"(\w+\.c)\">/) {
-        if ($1 eq 'util_ldap.c') {
+        my $name = $1;
+        if ($name eq 'util_ldap.c') {
             push(@actual,'mod_ldap.c');
+        } elsif ($name =~ /^(?:event|prefork|worker)\.c$/) {
+            push(@actual,"mod_mpm_$name");
+        } elsif ($name eq 'simple_api.c') {
+            push(@actual,"mod_mpm_simple.c");
         } else {
-            push(@actual, $1);
+            push(@actual, $name);
         }
     }
 }



Mime
View raw message