You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apreq-dev@httpd.apache.org by Randy Kobes <ra...@theoryx5.uwinnipeg.ca> on 2004/07/11 00:36:07 UTC

[apreq-2] env/t/cgi test

With the use of apr_file_printf, rather than just printf, to
print to stdout in env/test_cgi.c, the line-ending
distinction for Win32 in env/t/cgi.t isn't necessary any
more. This patch:
========================================================
Index: env/t/cgi.t
===================================================================
RCS file: /home/cvs/httpd-apreq-2/env/t/cgi.t,v
retrieving revision 1.3
diff -u -r1.3 cgi.t
--- env/t/cgi.t	11 Jun 2004 17:43:07 -0000	1.3
+++ env/t/cgi.t	10 Jul 2004 22:14:59 -0000
@@ -21,7 +21,7 @@

 my $location = '/cgi-bin';
 my $script = $location . (WIN32 ? '/test_cgi.exe' : '/test_cgi');
-my $line_end = WIN32 ? "\r\n" : "\n";
+my $line_end = "\n";
 my $filler = "0123456789" x 20; # < 64K

 # GET
========================================================
gets rid of it, and with it, all env/ tests pass for
me on Win32.

-- 
best regards,
randy