httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randy Kobes <ra...@theoryx5.uwinnipeg.ca>
Subject [apreq-2] env/t/cgi test
Date Sat, 10 Jul 2004 22:36:07 GMT
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

Mime
View raw message