diff proxy_cache_convert_head.t @ 1020:196d33c2bb45

Tests: removed TODO and try_run() checks for legacy versions. Also removed now unused spdy.t and shmem prerequisite.
author Andrey Zelenkov <zelenkov@nginx.com>
date Wed, 31 Aug 2016 18:21:07 +0300
parents 882267679006
children
line wrap: on
line diff
--- a/proxy_cache_convert_head.t
+++ b/proxy_cache_convert_head.t
@@ -22,7 +22,7 @@ use Test::Nginx;
 select STDERR; $| = 1;
 select STDOUT; $| = 1;
 
-my $t = Test::Nginx->new()->has(qw/http proxy cache shmem/)
+my $t = Test::Nginx->new()->has(qw/http proxy cache/)->plan(8)
 	->write_file_expand('nginx.conf', <<'EOF');
 
 %%TEST_GLOBALS%%
@@ -78,8 +78,7 @@ http {
 EOF
 
 $t->write_file('t.html', 'SEE-THIS');
-
-$t->try_run('no proxy_cache_convert_head')->plan(8);
+$t->run();
 
 ###############################################################################