mirror of
https://github.com/curl/curl.git
synced 2025-01-12 13:55:11 +08:00
test1140/1173: extend wildcards to find curl.1
... in its new build path.
Also update the test scripts to be more precise in error messages to
help us understand CI errors better.
Follow-up to f03c85635f
Ref: #13029
Closes #13083
This commit is contained in:
parent
b4d73e67dc
commit
1ab2efb0ef
@ -19,7 +19,7 @@ Verify the nroff of manpages
|
||||
</name>
|
||||
|
||||
<command type="perl">
|
||||
%SRCDIR/test1140.pl %PWD/../docs/ %PWD/../docs/libcurl/*.3 %PWD/../docs/libcurl/opts/*.3 %PWD/../docs/*.1
|
||||
%SRCDIR/test1140.pl %PWD/../docs/ %PWD/../docs/libcurl/*.3 %PWD/../docs/libcurl/opts/*.3 %PWD/../docs/*.1 %PWD/../docs/cmdline-opts/*.1
|
||||
</command>
|
||||
</client>
|
||||
|
||||
|
@ -19,7 +19,7 @@ Man page syntax checks
|
||||
</name>
|
||||
|
||||
<command type="perl">
|
||||
%SRCDIR/test1173.pl %SRCDIR/../docs/libcurl/symbols-in-versions %PWD/../docs/*.1 %PWD/../docs/libcurl/*.3 %PWD/../docs/libcurl/opts/*.3
|
||||
%SRCDIR/test1173.pl %SRCDIR/../docs/libcurl/symbols-in-versions %PWD/../docs/*.1 %PWD/../docs/cmdline-opts/*.1 %PWD/../docs/libcurl/*.3 %PWD/../docs/libcurl/opts/*.3
|
||||
</command>
|
||||
</client>
|
||||
|
||||
|
@ -57,7 +57,7 @@ sub manpresent {
|
||||
sub file {
|
||||
my ($f) = @_;
|
||||
open(my $fh, "<", "$f") ||
|
||||
die "no file";
|
||||
die "test1140.pl could not open $f";
|
||||
my $line = 1;
|
||||
while(<$fh>) {
|
||||
chomp;
|
||||
|
@ -132,7 +132,8 @@ sub scanmanpage {
|
||||
my @separators;
|
||||
my @sepline;
|
||||
|
||||
open(my $m, "<", "$file") || die "no such file: $file";
|
||||
open(my $m, "<", "$file") ||
|
||||
die "test1173.pl could not open $file";
|
||||
if($file =~ /[\/\\](CURL|curl_)[^\/\\]*.3/) {
|
||||
# This is a man page for libcurl. It requires an example!
|
||||
$reqex = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user