mirror of
https://github.com/curl/curl.git
synced 2026-08-24 10:43:32 +03:00
badwords: add more contractions, fix fallouts
Also fix hits in autotools scripts (not to enforce). Closes #19576
This commit is contained in:
parent
ad35ecba97
commit
1e1ec7f6c2
46 changed files with 126 additions and 113 deletions
|
|
@ -69,7 +69,7 @@ Content-Type: text/html
|
|||
Funny-head: yesyes
|
||||
|
||||
</stdout>
|
||||
# 23 == CURLE_WRITE_ERROR, curl wouldn't accept the binary output
|
||||
# 23 == CURLE_WRITE_ERROR, curl would not accept the binary output
|
||||
<errorcode>
|
||||
23
|
||||
</errorcode>
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ resolve
|
|||
|
||||
<reply>
|
||||
# Close the connection after the first request but do not tell the client to do
|
||||
# so! When starting the second request it'll detect a dead connection and must
|
||||
# so! When starting the second request it detects a dead connection and must
|
||||
# not clean the DNS entries added manually.
|
||||
<data1>
|
||||
HTTP/1.1 200 OK
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ Content-Type: text/html
|
|||
http
|
||||
</server>
|
||||
<name>
|
||||
--etag-compare that gets a 304 back shouldn't overwrite the file
|
||||
--etag-compare that gets a 304 back should not overwrite the file
|
||||
</name>
|
||||
<command option="no-output,no-include">
|
||||
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -o %LOGDIR/output%TESTNUMBER --etag-compare %LOGDIR/etag%TESTNUMBER
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<testcase>
|
||||
# NOTE: this test case is a duplicate of 547 but the tool is built to use the
|
||||
# multi interface instead of easy, but that shouldn't be noticeable at all in
|
||||
# multi interface instead of easy, but that should not be noticeable at all in
|
||||
# this file!
|
||||
<info>
|
||||
<keywords>
|
||||
|
|
|
|||
|
|
@ -140,7 +140,7 @@ def setup_logging(options):
|
|||
handler.setLevel(logging.DEBUG)
|
||||
root_logger.addHandler(handler)
|
||||
else:
|
||||
# The logfile wasn't specified. Add a stdout logger.
|
||||
# The logfile was not specified. Add a stdout logger.
|
||||
add_stdout = True
|
||||
|
||||
if options.verbose:
|
||||
|
|
|
|||
|
|
@ -34,8 +34,8 @@
|
|||
# It is meant to exercise curl, it is not meant to be a fully working
|
||||
# or even overly standard compliant server.
|
||||
#
|
||||
# You may optionally specify port on the command line, otherwise it'll
|
||||
# default to port 8921.
|
||||
# You may optionally specify port on the command line, otherwise it
|
||||
# defaults to port 8921.
|
||||
#
|
||||
# All socket/network/TCP related stuff is done by the 'sockfilt' program.
|
||||
#
|
||||
|
|
@ -989,7 +989,7 @@ sub DATA_smtp {
|
|||
}
|
||||
|
||||
if($nosave) {
|
||||
print $file "$ulsize bytes would've been stored here\n";
|
||||
print $file "$ulsize bytes would have been stored here\n";
|
||||
}
|
||||
|
||||
close($file);
|
||||
|
|
@ -1336,7 +1336,7 @@ sub APPEND_imap {
|
|||
}
|
||||
|
||||
if($nosave) {
|
||||
print $file "$size bytes would've been stored here\n";
|
||||
print $file "$size bytes would have been stored here\n";
|
||||
}
|
||||
|
||||
close($file);
|
||||
|
|
@ -2439,7 +2439,7 @@ sub STOR_ftp {
|
|||
}
|
||||
}
|
||||
if($nosave) {
|
||||
print $file "$ulsize bytes would've been stored here\n";
|
||||
print $file "$ulsize bytes would have been stored here\n";
|
||||
}
|
||||
close($file);
|
||||
close_dataconn($disc);
|
||||
|
|
@ -3342,7 +3342,7 @@ while(1) {
|
|||
}
|
||||
|
||||
if($check) {
|
||||
logmsg "$FTPCMD wasn't handled!\n";
|
||||
logmsg "$FTPCMD was not handled!\n";
|
||||
if($proto eq 'pop3') {
|
||||
sendcontrol "-ERR $FTPCMD is not dealt with!\r\n";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -115,7 +115,7 @@ sub getpartattr {
|
|||
}
|
||||
last;
|
||||
}
|
||||
# detect end of section when part wasn't found
|
||||
# detect end of section when part was not found
|
||||
elsif((1 ==$inside) && ($_ =~ /^ *\<\/$section\>/)) {
|
||||
last;
|
||||
}
|
||||
|
|
@ -242,7 +242,7 @@ sub loadtest {
|
|||
else {
|
||||
# failure
|
||||
if($warning) {
|
||||
print STDERR "file $file wouldn't open!\n";
|
||||
print STDERR "file $file would not open!\n";
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
|
@ -310,7 +310,7 @@ sub savetest {
|
|||
else {
|
||||
# failure
|
||||
if($warning) {
|
||||
print STDERR "file $file wouldn't open!\n";
|
||||
print STDERR "file $file would not open!\n";
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ static CURLcode test_lib1308(const char *URL)
|
|||
|
||||
/* after the first curl_formadd when there is a single entry, both pointers
|
||||
should point to the same struct */
|
||||
t1308_fail_unless(post == last, "post and last weren't the same");
|
||||
t1308_fail_unless(post == last, "post and last were not the same");
|
||||
|
||||
rc = curl_formadd(&post, &last, CURLFORM_COPYNAME, "htmlcode",
|
||||
CURLFORM_COPYCONTENTS, "<HTML></HTML>",
|
||||
|
|
|
|||
|
|
@ -1108,7 +1108,7 @@ static int test_curl_off_t_formatting(void)
|
|||
static int string_check_low(int linenumber, char *buf, const char *buf2)
|
||||
{
|
||||
if(strcmp(buf, buf2)) {
|
||||
/* they shouldn't differ */
|
||||
/* they should not differ */
|
||||
curl_mprintf("sprintf line %d failed:\nwe '%s'\nsystem: '%s'\n",
|
||||
linenumber, buf, buf2);
|
||||
return 1;
|
||||
|
|
@ -1121,7 +1121,7 @@ static int strlen_check_low(int linenumber, char *buf, size_t len)
|
|||
{
|
||||
size_t buflen = strlen(buf);
|
||||
if(len != buflen) {
|
||||
/* they shouldn't differ */
|
||||
/* they should not differ */
|
||||
curl_mprintf("sprintf strlen:%d failed:\nwe '%zu'\nsystem: '%zu'\n",
|
||||
linenumber, buflen, len);
|
||||
return 1;
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@
|
|||
*
|
||||
* This test was added after the HTTPS-using-multi-interface with OpenSSL
|
||||
* regression of 7.19.1 to hopefully prevent this embarrassing mistake from
|
||||
* appearing again... Unfortunately the bug wasn't triggered by this test,
|
||||
* appearing again... Unfortunately the bug was not triggered by this test,
|
||||
* which presumably is because the connect to a local server is too
|
||||
* fast/different compared to the real/distant servers we saw the bug happen
|
||||
* with.
|
||||
|
|
|
|||
|
|
@ -323,7 +323,7 @@ def setup_logging(options):
|
|||
handler.setLevel(logging.DEBUG)
|
||||
root_logger.addHandler(handler)
|
||||
else:
|
||||
# The logfile wasn't specified. Add a stdout logger.
|
||||
# The logfile was not specified. Add a stdout logger.
|
||||
add_stdout = True
|
||||
|
||||
if options.verbose:
|
||||
|
|
|
|||
|
|
@ -317,7 +317,7 @@ sub processexists {
|
|||
|
||||
#######################################################################
|
||||
# killpid attempts to gracefully stop processes in the given pid list
|
||||
# with a SIGTERM signal and SIGKILLs those which haven't died on time.
|
||||
# with a SIGTERM signal and SIGKILLs those which have not died on time.
|
||||
#
|
||||
sub killpid {
|
||||
my ($verbose, $pidlist) = @_;
|
||||
|
|
|
|||
|
|
@ -242,7 +242,7 @@ sub singletest_unbufferlogs {
|
|||
# Clear the buffered log messages & stop buffering after returning them
|
||||
sub singletest_dumplogs {
|
||||
if(!defined $singletest_bufferedrunner) {
|
||||
# probably not multiprocess mode and logs weren't buffered
|
||||
# probably not multiprocess mode and logs were not buffered
|
||||
return undef;
|
||||
}
|
||||
my $logsref = $singletest_logs{$singletest_bufferedrunner};
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@
|
|||
*
|
||||
* o We want FTP-SSL support, which means that a connection that starts with
|
||||
* plain sockets needs to be able to "go SSL" in the midst. This would also
|
||||
* require some nasty perl stuff I'd rather avoid.
|
||||
* require some nasty perl stuff I would rather avoid.
|
||||
*
|
||||
* (Source originally based on sws.c)
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -148,7 +148,7 @@ struct bf {
|
|||
tftphdr_storage_t buf; /* room for data packet */
|
||||
};
|
||||
|
||||
#define BF_ALLOC -3 /* alloc'd but not yet filled */
|
||||
#define BF_ALLOC -3 /* allocated but not yet filled */
|
||||
#define BF_FREE -2 /* free */
|
||||
|
||||
#define opcode_RRQ 1
|
||||
|
|
@ -417,7 +417,7 @@ static int writeit(struct testcase *test, struct tftphdr * volatile *dpp,
|
|||
current = !current; /* switch to other buffer */
|
||||
if(bfs[current].counter != BF_FREE) /* if not free */
|
||||
write_behind(test, convert); /* flush it */
|
||||
bfs[current].counter = BF_ALLOC; /* mark as alloc'd */
|
||||
bfs[current].counter = BF_ALLOC; /* mark as allocated */
|
||||
*dpp = &bfs[current].buf.hdr;
|
||||
return ct; /* this is a lie of course */
|
||||
}
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@ class ShutdownHandler(threading.Thread):
|
|||
signal.signal(signal.SIGTERM, self._sighandler)
|
||||
|
||||
def __exit__(self, *_):
|
||||
# Call for shutdown just in case it wasn't done already
|
||||
# Call for shutdown just in case it was not done already
|
||||
self.shutdown_event.set()
|
||||
# Wait for thread, and therefore also the server, to finish
|
||||
self.join()
|
||||
|
|
@ -408,7 +408,7 @@ def setup_logging(options):
|
|||
handler.setLevel(logging.DEBUG)
|
||||
root_logger.addHandler(handler)
|
||||
else:
|
||||
# The logfile wasn't specified. Add a stdout logger.
|
||||
# The logfile was not specified. Add a stdout logger.
|
||||
add_stdout = True
|
||||
|
||||
if options.verbose:
|
||||
|
|
|
|||
|
|
@ -254,7 +254,7 @@ sub scanmanpage {
|
|||
if($_ =~ /(.*)\\f([^BIP])/) {
|
||||
my ($pre, $format) = ($1, $2);
|
||||
if($pre !~ /\\\z/) {
|
||||
# only if there wasn't another backslash before the \f
|
||||
# only if there was not another backslash before the \f
|
||||
print STDERR "$file:$line suspicious \\f format!\n";
|
||||
$errors++;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue