aboutsummaryrefslogtreecommitdiff
path: root/tests/httpserver.pl
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-10-10 21:59:10 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-10-10 21:59:10 +0000
commit59a76e401050b65ca8ebfc74915c54b033185e0c (patch)
treea64d7dae049653103dfcd099ceeeb149989a2620 /tests/httpserver.pl
parent65b9c0d44df8e72d262cb8f0b942709570b061ac (diff)
Kevin Roth's fixes to make tests work on cygwin
Diffstat (limited to 'tests/httpserver.pl')
-rwxr-xr-xtests/httpserver.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/httpserver.pl b/tests/httpserver.pl
index 9e473f3c9..f5cf62cbe 100755
--- a/tests/httpserver.pl
+++ b/tests/httpserver.pl
@@ -137,6 +137,9 @@ for ( $waitedpid = 0;
$testnum=0;
}
open(INPUT, ">>log/server.input");
+
+ binmode(INPUT,":raw"); # this makes it work better on cygwin
+
for(@headers) {
print INPUT $_;
}