From 6063dff8d02adfba758d9f252c5704535d0d2faa Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 18 Apr 2005 05:46:10 +0000 Subject: 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. --- tests/testcurl.pl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'tests') 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() { + print; + print LOG; + } + close(F); } if ($configurebuild && !$crosscompile) { -- cgit v1.2.3