diff options
-rwxr-xr-x | tests/testcurl.pl | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/testcurl.pl b/tests/testcurl.pl index a8da82785..67b189147 100755 --- a/tests/testcurl.pl +++ b/tests/testcurl.pl @@ -435,16 +435,16 @@ while (<F>) { } close(F); -logit "display src/config$confsuffix.h"; -open(F, "src/config$confsuffix.h") or die "src/config$confsuffix.h: $!"; -while (<F>) { - print if /^ *#/; -} -close(F); - if (grepfile("define USE_ARES", "lib/config$confsuffix.h")) { logit "setup to build ares"; + logit "display ares/config$confsuffix.h"; + open(F, "ares/config$confsuffix.h") or die "ares/config$confsuffix.h: $!"; + while (<F>) { + print if /^ *#/; + } + close(F); + logit "build ares"; chdir "ares"; |