diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-04-18 05:46:10 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-04-18 05:46:10 +0000 |
commit | 6063dff8d02adfba758d9f252c5704535d0d2faa (patch) | |
tree | dd5d45fccc59ac7b60ec58ef40188e35a8bcd872 | |
parent | 7fba9ed398ab0b7eb98d70af03fbe6f2e26c02d9 (diff) |
Modified to not mix ordinary print to STDOUT with a system() that prints 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.
-rwxr-xr-x | tests/testcurl.pl | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/testcurl.pl b/tests/testcurl.pl index 2e47a6244..a8da82785 100755 --- a/tests/testcurl.pl +++ b/tests/testcurl.pl @@ -522,7 +522,12 @@ if ($targetos =~ /netware/) { } 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) { |