aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorViktor Szakats <vszakats@users.noreply.github.com>2018-02-23 23:29:01 +0000
committerViktor Szakats <vszakats@users.noreply.github.com>2018-02-23 23:29:01 +0000
commit7e35eb77292fe6464889ddc8329c6a64136f969d (patch)
tree76b1bdd02473d44be6773d0c61bbe8e98aeb8ffd /tests
parent06df42410e8829b70812b56664ab9fe3c77b683a (diff)
spelling fixes
Detected using the `codespell` tool. Also contains one URL protocol upgrade. Closes https://github.com/curl/curl/pull/2334
Diffstat (limited to 'tests')
-rwxr-xr-xtests/ftpserver.pl4
-rw-r--r--tests/libtest/lib560.c2
-rwxr-xr-xtests/libtest/mk-lib1521.pl2
-rwxr-xr-xtests/nroff-scan.pl4
-rw-r--r--tests/pathhelp.pm2
-rw-r--r--tests/server/CMakeLists.txt2
-rw-r--r--tests/server/sockfilt.c2
-rw-r--r--tests/server/sws.c8
8 files changed, 13 insertions, 13 deletions
diff --git a/tests/ftpserver.pl b/tests/ftpserver.pl
index f7f4fa2ae..97f7b8ea5 100755
--- a/tests/ftpserver.pl
+++ b/tests/ftpserver.pl
@@ -2708,7 +2708,7 @@ sub datasockf_state {
}
#**********************************************************************
-# nodataconn_str returns string of efective nodataconn command. Notice
+# nodataconn_str returns string of effective nodataconn command. Notice
# that $nodataconn may be set alone or in addition to a $nodataconnXXX.
#
sub nodataconn_str {
@@ -2934,7 +2934,7 @@ while(@ARGV) {
}
#***************************************************************************
-# Initialize command line option dependant variables
+# Initialize command line option dependent variables
#
if(!$srcdir) {
diff --git a/tests/libtest/lib560.c b/tests/libtest/lib560.c
index 0093ea113..16045e6da 100644
--- a/tests/libtest/lib560.c
+++ b/tests/libtest/lib560.c
@@ -31,7 +31,7 @@
* Simply download a HTTPS file!
*
* This test was added after the HTTPS-using-multi-interface with OpenSSL
- * regression of 7.19.1 to hopefully prevent this embarassing mistake from
+ * regression of 7.19.1 to hopefully prevent this embarrassing mistake from
* appearing again... Unfortunately the bug wasn't 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
diff --git a/tests/libtest/mk-lib1521.pl b/tests/libtest/mk-lib1521.pl
index fbb1cdee2..9771cf57f 100755
--- a/tests/libtest/mk-lib1521.pl
+++ b/tests/libtest/mk-lib1521.pl
@@ -71,7 +71,7 @@ struct data {
/* Unexpected error.
CURLE_NOT_BUILT_IN - means disabled at build
CURLE_UNKNOWN_OPTION - means no such option (anymore?)
- CURLE_SSL_ENGINE_NOTFOUND - set unkown ssl engine
+ CURLE_SSL_ENGINE_NOTFOUND - set unknown ssl engine
CURLE_UNSUPPORTED_PROTOCOL - set bad HTTP version
CURLE_BAD_FUNCTION_ARGUMENT - unsupported value
*/
diff --git a/tests/nroff-scan.pl b/tests/nroff-scan.pl
index 393068cd3..6121d4c8e 100755
--- a/tests/nroff-scan.pl
+++ b/tests/nroff-scan.pl
@@ -69,7 +69,7 @@ sub file {
if($str =~ /((libcurl|curl)([^ ]*))\(3\)/i) {
my $man = "$1.3";
if(!manpresent($man)) {
- print STDERR "error: $f:$line: refering to non-existing man page $man\n";
+ print STDERR "error: $f:$line: referring to non-existing man page $man\n";
$errors++;
}
if($pre ne "I") {
@@ -87,7 +87,7 @@ sub file {
while($i =~ s/((lib|)curl([^ ]*)) *\"\(3\)(,|) *\" *//i ) {
my $man = "$1.3";
if(!manpresent($man)) {
- print STDERR "error: $f:$line: refering to non-existing man page $man\n";
+ print STDERR "error: $f:$line: referring to non-existing man page $man\n";
$errors++;
}
}
diff --git a/tests/pathhelp.pm b/tests/pathhelp.pm
index 10a87aaf9..bd91c91bf 100644
--- a/tests/pathhelp.pm
+++ b/tests/pathhelp.pm
@@ -451,7 +451,7 @@ sub build_sys_abs_path {
return $path;
}
elsif(should_use_cygpath()) {
- # 'cygpath' is avalable - use it.
+ # 'cygpath' is available - use it.
my $has_final_slash = ($path =~ m{[\\/]$});
diff --git a/tests/server/CMakeLists.txt b/tests/server/CMakeLists.txt
index cfc1434cd..73841027b 100644
--- a/tests/server/CMakeLists.txt
+++ b/tests/server/CMakeLists.txt
@@ -20,7 +20,7 @@ function(SETUP_EXECUTABLE TEST_NAME) # ARGN are the files in the test
target_link_libraries(${TEST_NAME} ${CURL_LIBS})
# Test servers simply are standalone programs that do not use libcurl
- # library. For convinience and to ease portability of these servers,
+ # library. For convenience and to ease portability of these servers,
# some source code files from the libcurl subdirectory are also used
# to build the servers. In order to achieve proper linkage of these
# files on Win32 targets it is necessary to build the test servers
diff --git a/tests/server/sockfilt.c b/tests/server/sockfilt.c
index ceb04d8e8..40f5bdb48 100644
--- a/tests/server/sockfilt.c
+++ b/tests/server/sockfilt.c
@@ -1050,7 +1050,7 @@ static bool juggle(curl_socket_t *sockfdp,
Commands:
- DATA - plain pass-thru data
+ DATA - plain pass-through data
*/
if(!read_stdin(buffer, 5))
diff --git a/tests/server/sws.c b/tests/server/sws.c
index 1d47375ad..10a87746b 100644
--- a/tests/server/sws.c
+++ b/tests/server/sws.c
@@ -1347,7 +1347,7 @@ static curl_socket_t connect_to(const char *ipaddr, unsigned short port)
serverfd = socket(socket_domain, SOCK_STREAM, 0);
if(CURL_SOCKET_BAD == serverfd) {
error = SOCKERRNO;
- logmsg("Error creating socket for server conection: (%d) %s",
+ logmsg("Error creating socket for server connection: (%d) %s",
error, strerror(error));
return CURL_SOCKET_BAD;
}
@@ -1358,7 +1358,7 @@ static curl_socket_t connect_to(const char *ipaddr, unsigned short port)
curl_socklen_t flag = 1;
if(0 != setsockopt(serverfd, IPPROTO_TCP, TCP_NODELAY,
(void *)&flag, sizeof(flag)))
- logmsg("====> TCP_NODELAY for server conection failed");
+ logmsg("====> TCP_NODELAY for server connection failed");
}
#endif
@@ -1423,7 +1423,7 @@ static curl_socket_t connect_to(const char *ipaddr, unsigned short port)
* either end.
*
* When doing FTP through a CONNECT proxy, we expect that the data connection
- * will be setup while the first connect is still being kept up. Therefor we
+ * will be setup while the first connect is still being kept up. Therefore we
* must accept a new connection and deal with it appropriately.
*/
@@ -1567,7 +1567,7 @@ static void http_connect(curl_socket_t *infdp,
curl_socklen_t flag = 1;
if(0 != setsockopt(datafd, IPPROTO_TCP, TCP_NODELAY,
(void *)&flag, sizeof(flag)))
- logmsg("====> TCP_NODELAY for client DATA conection failed");
+ logmsg("====> TCP_NODELAY for client DATA connection failed");
}
#endif
req2.pipelining = FALSE;