nd 2003/11/01 09:28:48
Modified: perl-framework/t/modules include.t Log: disable the fsize/flastmod-test for now, until there's a better solution
BTW, there is a much simpler way to turn tests into todos without touching the sub-test's code:
http://perl.apache.org/docs/general/testing/testing.html#Todo_Sub_tests
[...]
my $tests = scalar(keys %test) + scalar(keys %t_test) + @patterns + 2;
-plan tests => $tests + 31, have_module 'include';
+plan tests => $tests + 30, have_module 'include';
Apache::TestRequest::scheme('http'); #ssl not listening on this vhost
Apache::TestRequest::module('mod_include'); #use this module's port
@@ -158,6 +158,8 @@
);
### FLASTMOD/FSIZE TESTS
+### disabled for now, until there's a better solution.
+my $todo = sub {
unless(eval{require POSIX}) {
skip "POSIX module not found", 1;
}
@@ -203,6 +205,7 @@
"GET ${dir}file.shtml"
);
}
+}; # /todo
__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com