Mercurial > hg > nginx-tests
changeset 343:e7dc8f4d0a4b
Tests: whitespace and spelling fixes.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Thu, 26 Sep 2013 12:51:21 +0400 |
parents | 86fa2a5a37ea |
children | b6d566531746 |
files | error_log.t fastcgi_keepalive.t http_location.t mail_smtp.t proxy_unfinished.t proxy_upgrade.t proxy_websocket.t upstream.t |
diffstat | 8 files changed, 9 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/error_log.t +++ b/error_log.t @@ -50,7 +50,7 @@ http { error_log %%TESTDIR%%/e_debug_debug.log debug; error_log %%TESTDIR%%/e_debug_info.log info; error_log stderr debug; - } + } location /info { limit_req_log_level info; error_log %%TESTDIR%%/e_info_debug.log debug;
--- a/fastcgi_keepalive.t +++ b/fastcgi_keepalive.t @@ -109,7 +109,7 @@ sub fastcgi_respond($$) { $h->{socket}->write(pack("xxxxxxxx")); select(undef, undef, undef, 0.1); - # write some text to stdout and stderr splitted over multiple network + # write some text to stdout and stderr split over multiple network # packets to test if we correctly set pipe length in various places my $tt = "test text, just for test";
--- a/http_location.t +++ b/http_location.t @@ -119,7 +119,7 @@ SKIP: { if $^O eq 'MSWin32' or $^O eq 'darwin'; like(http_get('/CASEFULL/'), qr/X-Location: root/, - 'casefull regex do not match wrong case'); + 'casefull regex do not match wrong case'); } # on case-insensitive systems a request to "/UPPERCASE" fails,
--- a/mail_smtp.t +++ b/mail_smtp.t @@ -222,7 +222,7 @@ local $SIG{__WARN__} = sub {}; $s->send('RCPT TO:<test@example.com>'); $s->ok('good rcpt to'); -# Make sure command splitted into many packets processed correctly +# Make sure command split into many packets processed correctly $s = Test::Nginx::SMTP->new(); $s->read(); @@ -230,6 +230,6 @@ local $SIG{__WARN__} = sub {}; log_out('HEL'); $s->print('HEL'); $s->send('O example.com'); -$s->ok('splitted command'); +$s->ok('split command'); ###############################################################################
--- a/proxy_unfinished.t +++ b/proxy_unfinished.t @@ -9,7 +9,7 @@ # # - shouldn't be cached # -# - if a response is sent using chunked transfer encoding, +# - if a response is sent using chunked transfer encoding, # final chunk shouldn't be sent ###############################################################################
--- a/proxy_upgrade.t +++ b/proxy_upgrade.t @@ -256,7 +256,7 @@ sub upgrade_handle_client { log2c("(new connection $client)"); while (1) { - $poll->mask($client => ($buffer ? POLLIN|POLLOUT : POLLIN)); + $poll->mask($client => ($buffer ? POLLIN|POLLOUT : POLLIN)); my $p = $poll->poll(0.5); log2c("(poll $p)");
--- a/proxy_websocket.t +++ b/proxy_websocket.t @@ -239,7 +239,7 @@ sub websocket_handle_client { log2c("(new connection $client)"); while (1) { - $poll->mask($client => ($buffer ? POLLIN|POLLOUT : POLLIN)); + $poll->mask($client => ($buffer ? POLLIN|POLLOUT : POLLIN)); my $p = $poll->poll(0.5); log2c("(poll $p)");
--- a/upstream.t +++ b/upstream.t @@ -71,7 +71,7 @@ EOF is(many('/', 30), '8081: 15, 8082: 15', 'balanced'); -# from 9 first requests to 8081, only 6 will be successfull, +# from 9 first requests to 8081, only 6 will be successful, # 3rd, 6th, and 9th requests will fail; after this the backend # will be considered down and won't be used till fail_timeout passes