aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-12-27 11:09:01 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-12-27 11:31:55 +0000
commit151ae594362460bb4391585a5d408b3b8e3a164d (patch)
tree79971cd65a18403844bfec5f7fc2d56b4330f3e3 /tests
parentbde08d216ca08fc185af2f31e57ebdb5c36f4497 (diff)
code/docs: Use correct case for IPv4 and IPv6
For consistency, as we seem to have a bit of a mixed bag, changed all instances of ipv4 and ipv6 in comments and documentations to use the correct case.
Diffstat (limited to 'tests')
-rw-r--r--tests/FILEFORMAT2
-rwxr-xr-xtests/runtests.pl6
-rw-r--r--tests/server/resolve.c2
-rw-r--r--tests/server/sockfilt.c2
4 files changed, 6 insertions, 6 deletions
diff --git a/tests/FILEFORMAT b/tests/FILEFORMAT
index 3b46e2893..c234c2250 100644
--- a/tests/FILEFORMAT
+++ b/tests/FILEFORMAT
@@ -289,7 +289,7 @@ data that is defined within the <reply><data></data></reply> section.
If there's no test number found above, the HTTP test server will use the
number following the last dot in the given hostname (made so that a CONNECT
can still pass on test number) so that "foo.bar.123" gets treated as test case
-123. Alternatively, if an ipv6-address is provided to CONNECT, the last
+123. Alternatively, if an IPv6 address is provided to CONNECT, the last
hexadecimal group in the address will be used as the test numer! For example
the address "[1234::ff]" would be treated as test case 255.
diff --git a/tests/runtests.pl b/tests/runtests.pl
index a2cc5153a..846687cb3 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -2529,12 +2529,12 @@ sub checksystem {
}
if($has_ipv6) {
- # client has ipv6 support
+ # client has IPv6 support
# check if the HTTP server has it!
my @sws = `server/sws --version`;
if($sws[0] =~ /IPv6/) {
- # HTTP server has ipv6 support!
+ # HTTP server has IPv6 support!
$http_ipv6 = 1;
$gopher_ipv6 = 1;
}
@@ -2542,7 +2542,7 @@ sub checksystem {
# check if the FTP server has it!
@sws = `server/sockfilt --version`;
if($sws[0] =~ /IPv6/) {
- # FTP server has ipv6 support!
+ # FTP server has IPv6 support!
$ftp_ipv6 = 1;
}
}
diff --git a/tests/server/resolve.c b/tests/server/resolve.c
index b84e7fd26..39849e7bf 100644
--- a/tests/server/resolve.c
+++ b/tests/server/resolve.c
@@ -120,7 +120,7 @@ int main(int argc, char *argv[])
/* Check that the system has IPv6 enabled before checking the resolver */
curl_socket_t s = socket(PF_INET6, SOCK_DGRAM, 0);
if(s == CURL_SOCKET_BAD)
- /* an ipv6 address was requested and we can't get/use one */
+ /* an IPv6 address was requested and we can't get/use one */
rc = -1;
else {
sclose(s);
diff --git a/tests/server/sockfilt.c b/tests/server/sockfilt.c
index c32cf05c6..670a378aa 100644
--- a/tests/server/sockfilt.c
+++ b/tests/server/sockfilt.c
@@ -23,7 +23,7 @@
/* Purpose
*
- * 1. Accept a TCP connection on a custom port (ipv4 or ipv6), or connect
+ * 1. Accept a TCP connection on a custom port (IPv4 or IPv6), or connect
* to a given (localhost) port.
*
* 2. Get commands on STDIN. Pass data on to the TCP stream.