aboutsummaryrefslogtreecommitdiff
path: root/tests/runtests.pl
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-03-19 09:26:29 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-03-19 09:26:29 +0000
commitb125e8e23a0212dba4cc3c19a2b744c2241b74e1 (patch)
treee4306e94720d5a2a77d82006335c7cff504d1ac0 /tests/runtests.pl
parentb28b616eb2ed16cddb7361a3924b1dbf795fc3a8 (diff)
set binary mode for some file handling and it might work better on some
cygwin installations (using DOS-style files somehow?)
Diffstat (limited to 'tests/runtests.pl')
-rwxr-xr-xtests/runtests.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl
index 20dcdbdef..eaaf9dff0 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -637,7 +637,8 @@ sub singletest {
subVariables \$fileContent;
# print "DEBUG: writing file " . $filename . "\n";
open OUTFILE, ">$filename";
- print OUTFILE $fileContent;
+ binmode OUTFILE; # for crapage systems, use binary
+ print OUTFILE $fileContent;
close OUTFILE;
}