--- AnyEvent/t/handle/03_http_req.t 2008/04/27 16:56:17 1.1 +++ AnyEvent/t/handle/03_http_req.t 2008/04/27 19:15:43 1.2 @@ -1,9 +1,16 @@ #!/opt/perl/bin/perl use strict; -use Test::More tests => 2; +use Test::More; use AnyEvent; use AnyEvent::Socket; +unless ($ENV{PERL_ANYEVENT_NET_TESTS}) { + plan skip_all => "PERL_ANYEVENT_NET_TESTS environment variable not set"; + exit 0; +} + +plan tests => 2; + my $cv = AnyEvent->condvar; my $fbytes;