aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-04-29 19:02:22 +0000
committerYang Tse <yangsita@gmail.com>2009-04-29 19:02:22 +0000
commit7d1bb21c191fea7c9e02d78e820a8df1b9ac65d3 (patch)
tree13f77eba6ecf0baac32f9f1a8fcfe3cb754a1e9a /tests
parent63dc2a843f93012586ebb0e1624f19182c23033c (diff)
Display only CURL_* and CARES_* symbol/macro definitions from curlbuild.h and ares_build.h
Diffstat (limited to 'tests')
-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);
}