diff t/gunzip_perl.t @ 21:c0301992025a draft default tip

Gunzip: tests cleanup.
author Maxim Dounin <mdounin@mdounin.ru>
date Fri, 07 Sep 2012 19:38:56 +0400
parents 1adc6718cc05
children
line wrap: on
line diff
--- a/t/gunzip_perl.t
+++ b/t/gunzip_perl.t
@@ -10,10 +10,6 @@ use warnings;
 use strict;
 
 use Test::More;
-
-BEGIN { use FindBin; chdir($FindBin::Bin); }
-
-use lib 'lib';
 use Test::Nginx qw/ :DEFAULT :gzip /;
 
 ###############################################################################
@@ -24,12 +20,11 @@ select STDOUT; $| = 1;
 eval { require IO::Compress::Gzip; };
 Test::More::plan(skip_all => "IO::Compress::Gzip not found") if $@;
 
-my $t = Test::Nginx->new()->has(qw/http perl/)->plan(2)
+my $t = Test::Nginx->new()->has(qw/http gunzip perl/)->plan(2)
 	->write_file_expand('nginx.conf', <<'EOF');
 
 %%TEST_GLOBALS%%
 
-master_process off;
 daemon         off;
 
 events {