httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cove...@apache.org
Subject svn commit: r1200343 - /httpd/test/framework/trunk/t/apache/expr.t
Date Thu, 10 Nov 2011 14:27:22 GMT
Author: covener
Date: Thu Nov 10 14:27:22 2011
New Revision: 1200343

URL: http://svn.apache.org/viewvc?rev=1200343&view=rev
Log:
avoid using 3x the default stack size for entire suite on AIX by
disabling recusrive ap_expr test.


Modified:
    httpd/test/framework/trunk/t/apache/expr.t

Modified: httpd/test/framework/trunk/t/apache/expr.t
URL: http://svn.apache.org/viewvc/httpd/test/framework/trunk/t/apache/expr.t?rev=1200343&r1=1200342&r2=1200343&view=diff
==============================================================================
--- httpd/test/framework/trunk/t/apache/expr.t (original)
+++ httpd/test/framework/trunk/t/apache/expr.t Thu Nov 10 14:27:22 2011
@@ -196,7 +196,6 @@ if (have_min_apache_version("2.3.15")) {
     $long_expr= 1;
 }
 push(@test_cases,
-     [("true && " x 2000) . "true"       => $long_expr ? 1 : undef],
      # longest string/regex with 2.3.15+ is 8191
      ["-n '" . ("a" x 8191) . "'"        => $long_expr ? 1 : undef],
      ["-n '" . ("a" x 9000) . "'"        => undef],
@@ -204,6 +203,14 @@ push(@test_cases,
      ["'y' =~ /" . ("a" x 9000) . "/x"   => undef],
 );
 
+# Instead of testing the entire server with large non-default
+# stack-size, just skip this recursion heavy test on AIX 
+# (Default = 96k, required between 256 and 384)
+if (!Apache::TestConfig::AIX) { 
+    push(@test_cases,
+        [("true && " x 2000) . "true"       => $long_expr ? 1 : undef]);
+}
+
 plan tests => scalar(@test_cases) + 1,
                   need need_lwp,
                   need_module('mod_authz_core'),



Mime
View raw message