From fc84583ae38af5e61377a12d9e028e3f1197b725 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 8 Jul 2024 23:37:55 +0200 Subject: [PATCH] test1175: scan libcurl-errors.md, not the generated .3 version Closes #14133 --- tests/test1175.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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"; } }