aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/testcurl.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testcurl.pl b/tests/testcurl.pl
index 4d1d73fc6..b4246ec4c 100755
--- a/tests/testcurl.pl
+++ b/tests/testcurl.pl
@@ -521,7 +521,7 @@ if(-f "./include/curl/curlbuild.h") {
if(open(F, "<./include/curl/curlbuild.h")) {
while(<F>) {
my $ll = $_;
- print $ll if(($ll =~ /^ *# *define/) && ($ll !~ /__CURL_CURLBUILD_H/));
+ print $ll if(($ll =~ /^ *# *define *CURL_/) && ($ll !~ /__CURL_CURLBUILD_H/));
}
close(F);
}
@@ -545,7 +545,7 @@ if (grepfile("define USE_ARES", "lib/config$confsuffix.h")) {
if(open(F, "<./ares/ares_build.h")) {
while(<F>) {
my $ll = $_;
- print $ll if(($ll =~ /^ *# *define/) && ($ll !~ /__CARES_BUILD_H/));
+ print $ll if(($ll =~ /^ *# *define *CARES_/) && ($ll !~ /__CARES_BUILD_H/));
}
close(F);
}