mirror of
https://github.com/curl/curl.git
synced 2026-04-15 01:01:41 +03:00
test1175: scan libcurl-errors.md, not the generated .3 version
Closes #14133
This commit is contained in:
parent
3f8066bf7c
commit
fc84583ae3
1 changed files with 3 additions and 3 deletions
|
|
@ -35,9 +35,9 @@ my %error; # from the include file
|
|||
my %docs; # from libcurl-errors.3
|
||||
|
||||
sub getdocserrors {
|
||||
open(my $f, "<", "$root/docs/libcurl/libcurl-errors.3");
|
||||
open(my $f, "<", "$root/docs/libcurl/libcurl-errors.md");
|
||||
while(<$f>) {
|
||||
if($_ =~ /^.IP \"(CURL[EM]_[^ \t\"]*)/) {
|
||||
if($_ =~ /^## (CURL[EM]_[^ ]*)/) {
|
||||
my ($symbol) = ($1);
|
||||
if($symbol =~ /OBSOLETE/) {
|
||||
;
|
||||
|
|
@ -71,7 +71,7 @@ getdocserrors();
|
|||
|
||||
for(sort keys %error) {
|
||||
if($error{$_} && !$docs{$_}) {
|
||||
print "$_ is not in libcurl-errors.3\n";
|
||||
print "$_ is not in libcurl-errors.md\n";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue