so i just committed a small change to apache/contentlength.t. the modules/deflate.t test suffers from the same problem: assuming echo_post module is built.
so if you: perl Makefile.PL -httpd /path/to/your/httpd these test fail, because echo_post only gets built if you specify apxs. i have an alternate suggestion for deflate.t. it requires Compress::Zlib so i thought i should see what everybody thinks before just committing away. basically, you either require apxs and echo_post or Compress::Zlib to run the test. anyway, check out the patch, let me know what you think. -j
Index: deflate.t =================================================================== RCS file: /home/cvspublic/httpd-test/perl-framework/t/modules/deflate.t,v retrieving revision 1.2 diff -r1.2 deflate.t 18c18,19 < plan tests => $tests, have_module 'deflate'; --- > plan tests => $tests, [qw(deflate Compress::Zlib)]; > require Compress::Zlib; 33,34c34 < my $inflated_str = POST_BODY($server_inflate_uri, @inflate_headers, < content => $deflated_str); --- > my $inflated_str = Compress::Zlib::memGunzip($deflated_str);