From: Daniel Stenberg Date: Mon, 8 Jul 2024 21:37:55 +0000 (+0200) Subject: test1175: scan libcurl-errors.md, not the generated .3 version X-Git-Tag: curl-8_9_0~83 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc84583ae38af5e61377a12d9e028e3f1197b725;p=thirdparty%2Fcurl.git test1175: scan libcurl-errors.md, not the generated .3 version Closes #14133 --- diff --git a/tests/test1175.pl b/tests/test1175.pl index 8147ef6d01..2bf863fc7a 100755 --- a/tests/test1175.pl +++ b/tests/test1175.pl @@ -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"; } }