mirror of
https://github.com/curl/curl.git
synced 2026-08-24 15:53:32 +03:00
badwords: fix issues found in tests
There remain some false positives, hits in test data, and `dir` use, around 100 issues in total. There is no plan to enforce badwords on tests. Also: - badwords.txt: let a few `manpage[s]` occurrences through (in Perl code). Closes #19541
This commit is contained in:
parent
f0de14168a
commit
a87383828e
247 changed files with 594 additions and 595 deletions
|
|
@ -64,7 +64,7 @@ use testutil qw(
|
|||
exerunner
|
||||
);
|
||||
|
||||
our $logfile; # server log file name, for logmsg
|
||||
our $logfile; # server log filename, for logmsg
|
||||
|
||||
#***************************************************************************
|
||||
# Just for convenience, test harness uses 'https' and 'httptls' literals as
|
||||
|
|
@ -153,7 +153,7 @@ sub servername_id {
|
|||
|
||||
|
||||
#***************************************************************************
|
||||
# Return server name string formatted for file name purposes
|
||||
# Return server name string formatted for filename purposes
|
||||
#
|
||||
sub servername_canon {
|
||||
my ($proto, $ipver, $idnum) = @_;
|
||||
|
|
@ -165,7 +165,7 @@ sub servername_canon {
|
|||
|
||||
|
||||
#***************************************************************************
|
||||
# Return file name for server pid file.
|
||||
# Return filename for server pid file.
|
||||
#
|
||||
sub server_pidfilename {
|
||||
my ($piddir, $proto, $ipver, $idnum) = @_;
|
||||
|
|
@ -174,7 +174,7 @@ sub server_pidfilename {
|
|||
}
|
||||
|
||||
#***************************************************************************
|
||||
# Return file name for server port file.
|
||||
# Return filename for server port file.
|
||||
#
|
||||
sub server_portfilename {
|
||||
my ($piddir, $proto, $ipver, $idnum) = @_;
|
||||
|
|
@ -184,7 +184,7 @@ sub server_portfilename {
|
|||
|
||||
|
||||
#***************************************************************************
|
||||
# Return file name for server log file.
|
||||
# Return filename for server log file.
|
||||
#
|
||||
sub server_logfilename {
|
||||
my ($logdir, $proto, $ipver, $idnum) = @_;
|
||||
|
|
@ -195,7 +195,7 @@ sub server_logfilename {
|
|||
|
||||
|
||||
#***************************************************************************
|
||||
# Return file name for server commands file.
|
||||
# Return filename for server commands file.
|
||||
#
|
||||
sub server_cmdfilename {
|
||||
my ($logdir, $proto, $ipver, $idnum) = @_;
|
||||
|
|
@ -205,7 +205,7 @@ sub server_cmdfilename {
|
|||
|
||||
|
||||
#***************************************************************************
|
||||
# Return file name for server input file.
|
||||
# Return filename for server input file.
|
||||
#
|
||||
sub server_inputfilename {
|
||||
my ($logdir, $proto, $ipver, $idnum) = @_;
|
||||
|
|
@ -215,7 +215,7 @@ sub server_inputfilename {
|
|||
|
||||
|
||||
#***************************************************************************
|
||||
# Return file name for server output file.
|
||||
# Return filename for server output file.
|
||||
#
|
||||
sub server_outputfilename {
|
||||
my ($logdir, $proto, $ipver, $idnum) = @_;
|
||||
|
|
@ -253,7 +253,7 @@ sub server_exe_args {
|
|||
|
||||
|
||||
#***************************************************************************
|
||||
# Return file name for main or primary sockfilter pid file.
|
||||
# Return filename for main or primary sockfilter pid file.
|
||||
#
|
||||
sub mainsockf_pidfilename {
|
||||
my ($piddir, $proto, $ipver, $idnum) = @_;
|
||||
|
|
@ -265,7 +265,7 @@ sub mainsockf_pidfilename {
|
|||
|
||||
|
||||
#***************************************************************************
|
||||
# Return file name for main or primary sockfilter log file.
|
||||
# Return filename for main or primary sockfilter log file.
|
||||
#
|
||||
sub mainsockf_logfilename {
|
||||
my ($logdir, $proto, $ipver, $idnum) = @_;
|
||||
|
|
@ -277,7 +277,7 @@ sub mainsockf_logfilename {
|
|||
|
||||
|
||||
#***************************************************************************
|
||||
# Return file name for data or secondary sockfilter pid file.
|
||||
# Return filename for data or secondary sockfilter pid file.
|
||||
#
|
||||
sub datasockf_pidfilename {
|
||||
my ($piddir, $proto, $ipver, $idnum) = @_;
|
||||
|
|
@ -289,7 +289,7 @@ sub datasockf_pidfilename {
|
|||
|
||||
|
||||
#***************************************************************************
|
||||
# Return file name for data or secondary sockfilter log file.
|
||||
# Return filename for data or secondary sockfilter log file.
|
||||
#
|
||||
sub datasockf_logfilename {
|
||||
my ($logdir, $proto, $ipver, $idnum) = @_;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue