Skip to content

Commit

Permalink
Modified to not mix ordinary print to STDOUT with a system() that pri…
Browse files Browse the repository at this point in the history
…nts to

stdout, since I've found cases on Solaris where the second output mixes with
the first and thus the big check-script doesn't properly find the first
string in the output stream.
  • Loading branch information
bagder committed Apr 18, 2005
1 parent 7fba9ed commit 6063dff
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/testcurl.pl
Expand Up @@ -522,7 +522,12 @@ ($)
}
elsif(!$crosscompile) {
logit "display curl$binext --version output";
system("./src/curl$binext --version");
open(F, "./src/curl$binext --version|");
while(<F>) {
print;
print LOG;
}
close(F);
}

if ($configurebuild && !$crosscompile) {
Expand Down

0 comments on commit 6063dff

Please sign in to comment.