Mercurial > hg > nginx-tests
diff proxy_upgrade.t @ 317:a9621dbbd0d4
Tests: remove TODOs with 1.3.x version checks.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 23 Jul 2013 20:25:05 +0400 |
parents | 3dd8c7acf3ad |
children | e7dc8f4d0a4b |
line wrap: on
line diff
--- a/proxy_upgrade.t +++ b/proxy_upgrade.t @@ -66,9 +66,6 @@ EOF ############################################################################### -TODO: { -local $TODO = 'not yet' unless $t->has_version('1.3.13'); - # establish connection my $s = upgrade_connect(); @@ -116,12 +113,11 @@ SKIP: { is(upgrade_read($s), "bar", "next to pipelined"); } -} - # connection should not be upgraded unless upgrade was actually # requested and allowed by configuration -my $s = upgrade_connect(noheader => 1); +undef $s; +$s = upgrade_connect(noheader => 1); ok(!$s, "handshake noupgrade"); ###############################################################################