1 | #!/opt/perl/bin/perl | 1 | #!/opt/perl/bin/perl |
---|---|---|---|
2 | |||
2 | use strict; | 3 | use strict; |
3 | use Test::More tests => 2; | 4 | use Test::More; |
5 | use AnyEvent::Impl::Perl; | ||
4 | use AnyEvent; | 6 | use AnyEvent; |
5 | use AnyEvent::Socket; | 7 | use AnyEvent::Socket; |
8 | |||
9 | unless ($ENV{PERL_ANYEVENT_NET_TESTS}) { | ||
10 | plan skip_all => "PERL_ANYEVENT_NET_TESTS environment variable not set"; | ||
11 | exit 0; | ||
12 | } | ||
13 | |||
14 | plan tests => 2; | ||
6 | 15 | ||
7 | my $cv = AnyEvent->condvar; | 16 | my $cv = AnyEvent->condvar; |
8 | 17 | ||
9 | my $fbytes; | 18 | my $fbytes; |
10 | my $rbytes; | 19 | my $rbytes; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |