summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-04-18 05:46:10 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-04-18 05:46:10 +0000
commit6063dff8d02adfba758d9f252c5704535d0d2faa (patch)
treedd5d45fccc59ac7b60ec58ef40188e35a8bcd872
parent7fba9ed398ab0b7eb98d70af03fbe6f2e26c02d9 (diff)
downloadgnurl-6063dff8d02adfba758d9f252c5704535d0d2faa.tar.gz
gnurl-6063dff8d02adfba758d9f252c5704535d0d2faa.tar.bz2
gnurl-6063dff8d02adfba758d9f252c5704535d0d2faa.zip
Modified to not mix ordinary print to STDOUT with a system() that prints topre-sockfilt
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-xtests/testcurl.pl7
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) {