diff options
Diffstat (limited to 'tests/manpage-scan.pl')
-rwxr-xr-x | tests/manpage-scan.pl | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/manpage-scan.pl b/tests/manpage-scan.pl index b6864c857..62eaebea1 100755 --- a/tests/manpage-scan.pl +++ b/tests/manpage-scan.pl @@ -43,7 +43,7 @@ use warnings; my $root=$ARGV[0] || "."; my $buildroot=$ARGV[1] || "."; my $syms = "$root/docs/libcurl/symbols-in-versions"; -my $curlh = "$root/include/curl/curl.h"; +my $curlh = "$root/include/gnurl/curl.h"; my $errors=0; # the prepopulated alias list is the CURLINFO_* defines that are used for the @@ -126,9 +126,9 @@ while(<R>) { } close(R); -scanmanpage("$root/docs/libcurl/curl_easy_setopt.3", @curlopt); -scanmanpage("$root/docs/libcurl/curl_easy_getinfo.3", @curlinfo); -scanmanpage("$root/docs/libcurl/curl_multi_setopt.3", @curlmopt); +scanmanpage("$root/docs/libcurl/gnurl_easy_setopt.3", @curlopt); +scanmanpage("$root/docs/libcurl/gnurl_easy_getinfo.3", @curlinfo); +scanmanpage("$root/docs/libcurl/gnurl_multi_setopt.3", @curlmopt); # using this hash array, we can whitelist specific options my %opts = ( @@ -198,7 +198,7 @@ close(R); ######################################################################### # parse the curl.1 man page, extract all documented command line options # The man page may or may not be rebuilt, so check both possible locations -open(R, "<$buildroot/docs/curl.1") || open(R, "<$root/docs/curl.1") || +open(R, "<$buildroot/docs/gnurl.1") || open(R, "<$root/docs/gnurl.1") || die "no input file"; my @manpage; # store all parsed parameters while(<R>) { @@ -270,10 +270,10 @@ foreach my $o (keys %opts) { $missing=" tool_getparam.c"; } if($where & 2) { - $exists.= " curl.1"; + $exists.= " gnurl.1"; } else { - $missing.= " curl.1"; + $missing.= " gnurl.1"; } if($where & 4) { $exists .= " tool_help.c"; |