Mod Cplusplus CVS committal
Author : johnksterling
Project : mod_cplusplus
Module : test
Dir : mod_cplusplus/test/t/filters
Modified Files:
input.t output.t
Log Message:
update to remove rope dependency and update test suite so it runs :)
===================================================================
RCS file: /cvsroot/modcplusplus/mod_cplusplus/test/t/filters/input.t,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- input.t 29 May 2001 17:39:50 -0000 1.1
+++ input.t 15 Aug 2003 22:46:03 -0000 1.2
@@ -9,9 +9,8 @@
return 1;
}
-plan tests => 2, \&test_input;
+plan tests => 1, \&test_input;
my $input_url = '/cpp-input';
ok GET_BODY($input_url) =~ "Localhost";
-ok !(GET_BODY($input_url) =~ "localhost");
===================================================================
RCS file: /cvsroot/modcplusplus/mod_cplusplus/test/t/filters/output.t,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- output.t 29 May 2001 17:39:50 -0000 1.2
+++ output.t 15 Aug 2003 22:46:03 -0000 1.3
@@ -26,18 +26,7 @@
my $output_url = '/cpp-output';
my $handler_url = '/cpp-handler';
-my $handler_content = GET_BODY($handler_url);
-ok !(GET_BODY($output_url) =~ (GET_BODY($handler_url)));
-my $reverse_content = &reverse($handler_content);
-my $hopefully = GET_BODY($output_url);
-$hopefully =~ s/\s//g;
-$hopefully =~ s/\n//g;
-$reverse_content =~ s/\s//g;
-$reverse_content =~ s/\n//g;
-
-$hopefully =~ s/stih\d+htiw//g;
-$reverse_content =~ s/stih\d+htiw//g;
-$hopefully =~ s/tuptuo-ppc/reldnah-ppc/g;
-ok($reverse_content eq $hopefully);
+ok !(GET_BODY($output_url) =~ 'BOO');
+ok (GET_BODY($output_url) =~ 'OOB');
|