ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/AnyEvent/t/69_ev_05_dns.t
(Generate patch)

Comparing AnyEvent/t/69_ev_05_dns.t (file contents):
Revision 1.1 by root, Thu Oct 2 08:43:58 2008 UTC vs.
Revision 1.3 by root, Sat Jul 18 00:05:29 2009 UTC

1$|=1;
2BEGIN { unless (eval "require EV") { print "1..0 # skip because EV isn't installed"; exit } }
3BEGIN { print "1..5\n" }
4
5# we avoid complicated tests here because some systems will 1# we avoid complicated tests here because some systems will
6# not have working DNS 2# not have working DNS
7 3
8use AnyEvent::Impl::EV; 4BEGIN { eval q{use AnyEvent::Impl::EV;1} or ((print qq{1..0 # SKIP AnyEvent::Impl::EV not found}), exit 0) }
9use AnyEvent::DNS; 5use AnyEvent::DNS;
6
7$| = 1; print "1..5\n";
10 8
11print "ok 1\n"; 9print "ok 1\n";
12 10
13AnyEvent::DNS::resolver; 11AnyEvent::DNS::resolver;
14 12

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines