diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/testcurl.pl | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/testcurl.pl b/tests/testcurl.pl index 7168a8429..133a8dfef 100755 --- a/tests/testcurl.pl +++ b/tests/testcurl.pl @@ -533,6 +533,20 @@ close(F); if (grepfile("define USE_ARES", "lib/config$confsuffix.h")) { logit "setup to build ares"; + if(-f "./ares/ares_build.h") { + logit "display ares/ares_build.h"; + if(open(F, "<./ares/ares_build.h")) { + while(<F>) { + my $ll = $_; + print $ll if(($ll =~ /^ *# *define/) && ($ll !~ /__CARES_BUILD_H/)); + } + close(F); + } + } + else { + mydie "no ares_build.h created/found"; + } + logit "display ares/config$confsuffix.h"; if(open(F, "ares/config$confsuffix.h")) { while (<F>) { |