projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fba9ed
)
Modified to not mix ordinary print to STDOUT with a system() that prints to
author
Daniel Stenberg
<daniel@haxx.se>
Mon, 18 Apr 2005 05:46:10 +0000
(
05:46
+0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Mon, 18 Apr 2005 05:46:10 +0000
(
05:46
+0000)
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
patch
|
blob
|
history
diff --git
a/tests/testcurl.pl
b/tests/testcurl.pl
index
2e47a62
..
a8da827
100755
(executable)
--- 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) {