diff limit-req.t @ 121:8ac1faaddd2c

Tests: better handle various configure arguments.
author Maxim Dounin <mdounin@mdounin.ru>
date Sat, 26 Dec 2009 16:06:17 +0300
parents 5d31f920eda9
children 59021f2b2fd3
line wrap: on
line diff
--- a/limit-req.t	Thu Dec 24 16:54:43 2009 +0300
+++ b/limit-req.t	Sat Dec 26 16:06:17 2009 +0300
@@ -21,7 +21,7 @@
 select STDERR; $| = 1;
 select STDOUT; $| = 1;
 
-my $t = Test::Nginx->new()->plan(5);
+my $t = Test::Nginx->new()->has(qw/http limit_req/)->plan(5);
 
 $t->write_file_expand('nginx.conf', <<'EOF');