mirror of
https://github.com/curl/curl.git
synced 2026-08-24 17:03:32 +03:00
misc: typo and grammar fixes
- Replace `Github` with `GitHub`. - Replace `windows` with `Windows` - Replace `advice` with `advise` where a verb is used. - A few fixes on removing repeated words. - Replace `a HTTP` with `an HTTP` Closes #9802
This commit is contained in:
parent
b7260c4fda
commit
4484270afc
57 changed files with 106 additions and 106 deletions
|
|
@ -54,9 +54,9 @@ below.
|
|||
Here are the different CI environments that are currently in use, and how they
|
||||
are configured:
|
||||
|
||||
### Github Actions
|
||||
### GitHub Actions
|
||||
|
||||
Github Actions runs the following tests:
|
||||
GitHub Actions runs the following tests:
|
||||
|
||||
- Mac OS tests with a variety of different compilation options
|
||||
- Fuzz tests ([see tests/fuzz/README for
|
||||
|
|
@ -101,7 +101,7 @@ BoringSSL, etc).
|
|||
- Curl compiled with different C compilers.
|
||||
|
||||
As of November 2021, the tests run (sometimes) but do not run consistently and
|
||||
do not report results to the Github checks runner - you need to manually check
|
||||
do not report results to the GitHub checks runner - you need to manually check
|
||||
for failures. See [#7522](https://github.com/curl/curl/issues/7522) for more
|
||||
information.
|
||||
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ with a `testcase` tag, which encompasses the remainder of the file.
|
|||
# Preprocessing
|
||||
|
||||
When a test is to be executed, the source file is first preprocessed and
|
||||
variables are substituted by the their respective contents and the output
|
||||
variables are substituted by their respective contents and the output
|
||||
version of the test file is stored as `log/testNUM`. That version is what will
|
||||
be read and used by the test servers.
|
||||
|
||||
|
|
@ -70,7 +70,7 @@ string may contain `%HH` hexadecimal codes:
|
|||
|
||||
%repeat[<number> x <string>]%
|
||||
|
||||
For example, to insert the word hello a 100 times:
|
||||
For example, to insert the word hello 100 times:
|
||||
|
||||
%repeat[100 x hello]%
|
||||
|
||||
|
|
@ -114,7 +114,7 @@ Available substitute variables include:
|
|||
- `%CLIENT6IP` - IPv6 address of the client running curl
|
||||
- `%CLIENTIP` - IPv4 address of the client running curl
|
||||
- `%CURL` - Path to the curl executable
|
||||
- `%FILE_PWD` - Current directory, on windows prefixed with a slash
|
||||
- `%FILE_PWD` - Current directory, on Windows prefixed with a slash
|
||||
- `%FTP6PORT` - IPv6 port number of the FTP server
|
||||
- `%FTPPORT` - Port number of the FTP server
|
||||
- `%FTPSPORT` - Port number of the FTPS server
|
||||
|
|
@ -203,7 +203,7 @@ arrived safely. Set `nocheck="yes"` to prevent the test script from verifying
|
|||
the arrival of this data.
|
||||
|
||||
If the data contains `swsclose` anywhere within the start and end tag, and
|
||||
this is a HTTP test, then the connection will be closed by the server after
|
||||
this is an HTTP test, then the connection will be closed by the server after
|
||||
this response is sent. If not, the connection will be kept persistent.
|
||||
|
||||
If the data contains `swsbounce` anywhere within the start and end tag, the
|
||||
|
|
@ -237,10 +237,10 @@ Send back this contents instead of the <data> one. The `NUM` is set by:
|
|||
- The test number in the request line is >10000 and this is the remainder
|
||||
of [test case number]%10000.
|
||||
- The request was HTTP and included digest details, which adds 1000 to `NUM`
|
||||
- If a HTTP request is NTLM type-1, it adds 1001 to `NUM`
|
||||
- If a HTTP request is NTLM type-3, it adds 1002 to `NUM`
|
||||
- If a HTTP request is Basic and `NUM` is already >=1000, it adds 1 to `NUM`
|
||||
- If a HTTP request is Negotiate, `NUM` gets incremented by one for each
|
||||
- If an HTTP request is NTLM type-1, it adds 1001 to `NUM`
|
||||
- If an HTTP request is NTLM type-3, it adds 1002 to `NUM`
|
||||
- If an HTTP request is Basic and `NUM` is already >=1000, it adds 1 to `NUM`
|
||||
- If an HTTP request is Negotiate, `NUM` gets incremented by one for each
|
||||
request with Negotiate authorization header on the same test case.
|
||||
|
||||
Dynamically changing `NUM` in this way allows the test harness to be used to
|
||||
|
|
@ -570,7 +570,7 @@ comparisons are made.
|
|||
|
||||
### `<proxy [nonewline="yes"]>`
|
||||
|
||||
The protocol dump curl should transmit to a HTTP proxy (when the http-proxy
|
||||
The protocol dump curl should transmit to an HTTP proxy (when the http-proxy
|
||||
server is used), if `nonewline` is set, we will cut off the trailing newline
|
||||
of this given data before comparing with the one actually sent by the client
|
||||
The `<strip>` and `<strippart>` rules are applied before comparisons are made.
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<testcase>
|
||||
<info>
|
||||
# This test is a copy of test 67, modified to use a HTTP proxy.
|
||||
# This test is a copy of test 67, modified to use an HTTP proxy.
|
||||
<keywords>
|
||||
HTTP
|
||||
HTTP GET
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<testcase>
|
||||
<info>
|
||||
# This test is a copy of test 1231, modified to use a HTTP proxy.
|
||||
# This test is a copy of test 1231, modified to use an HTTP proxy.
|
||||
<keywords>
|
||||
HTTP
|
||||
HTTP GET
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ lib%TESTNUMBER
|
|||
</tool>
|
||||
|
||||
<name>
|
||||
make a HTTPPOST set to NULL
|
||||
make an HTTPPOST set to NULL
|
||||
</name>
|
||||
<command>
|
||||
http://%HOSTIP:%HTTPPORT/%TESTNUMBER
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ lib%TESTNUMBER
|
|||
</tool>
|
||||
|
||||
<name>
|
||||
make a HTTP MIME POST set to NULL
|
||||
make an HTTP MIME POST set to NULL
|
||||
</name>
|
||||
<command>
|
||||
http://%HOSTIP:%HTTPPORT/%TESTNUMBER
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ int test(char *URL)
|
|||
res = curl_easy_perform(curl);
|
||||
|
||||
if(!res) {
|
||||
/* we are connected, now get a HTTP document the raw way */
|
||||
/* we are connected, now get an HTTP document the raw way */
|
||||
const char *request =
|
||||
"GET /556 HTTP/1.1\r\n"
|
||||
"Host: ninja\r\n\r\n";
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@
|
|||
#define TEST_HANG_TIMEOUT 60 * 1000
|
||||
|
||||
/*
|
||||
* Simply download a HTTPS file!
|
||||
* Simply download an HTTPS file!
|
||||
*
|
||||
* This test was added after the HTTPS-using-multi-interface with OpenSSL
|
||||
* regression of 7.19.1 to hopefully prevent this embarrassing mistake from
|
||||
|
|
|
|||
|
|
@ -450,10 +450,10 @@ static int ProcessRequest(struct httprequest *req)
|
|||
|
||||
/* **** Persistence ****
|
||||
*
|
||||
* If the request is a HTTP/1.0 one, we close the connection unconditionally
|
||||
* If the request is an HTTP/1.0 one, we close the connection unconditionally
|
||||
* when we're done.
|
||||
*
|
||||
* If the request is a HTTP/1.1 one, we MUST check for a "Connection:"
|
||||
* If the request is an HTTP/1.1 one, we MUST check for a "Connection:"
|
||||
* header that might say "close". If it does, we close a connection when
|
||||
* this request is processed. Otherwise, we keep the connection alive for X
|
||||
* seconds.
|
||||
|
|
|
|||
|
|
@ -602,10 +602,10 @@ static int ProcessRequest(struct httprequest *req)
|
|||
|
||||
/* **** Persistence ****
|
||||
*
|
||||
* If the request is a HTTP/1.0 one, we close the connection unconditionally
|
||||
* If the request is an HTTP/1.0 one, we close the connection unconditionally
|
||||
* when we're done.
|
||||
*
|
||||
* If the request is a HTTP/1.1 one, we MUST check for a "Connection:"
|
||||
* If the request is an HTTP/1.1 one, we MUST check for a "Connection:"
|
||||
* header that might say "close". If it does, we close a connection when
|
||||
* this request is processed. Otherwise, we keep the connection alive for X
|
||||
* seconds.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue