From: Daniel Stenberg Date: Mon, 18 Apr 2005 05:46:10 +0000 (+0000) Subject: Modified to not mix ordinary print to STDOUT with a system() that prints to X-Git-Tag: curl-7_14_0~159 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6063dff8d02adfba758d9f252c5704535d0d2faa;p=thirdparty%2Fcurl.git 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. --- diff --git a/tests/testcurl.pl b/tests/testcurl.pl index 2e47a62446..a8da827855 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() { + print; + print LOG; + } + close(F); } if ($configurebuild && !$crosscompile) {