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

Comparing AnyEvent/t/66_ioasync_05_dns.t (file contents):
Revision 1.1 by root, Thu Jun 25 11:16:08 2009 UTC vs.
Revision 1.6 by root, Wed Dec 29 04:23:06 2010 UTC

1$|=1;
2BEGIN { print "1..5\n" }
3
4# we avoid complicated tests here because some systems will 1# we avoid complicated tests here because some systems will
5# not have working DNS 2# not have working DNS
6 3
7use AnyEvent::Impl::IOAsync; 4use AnyEvent;
8use IO::Async::Loop; AnyEvent::Impl::IOAsync::set_loop new IO::Async::Loop; 5BEGIN { eval q{use AnyEvent::Impl::IOAsync;1} or ((print qq{1..0 # SKIP AnyEvent::Impl::IOAsync not loadable}), exit 0) }
6use AnyEvent::DNS;
9 7
10use AnyEvent::DNS; 8$| = 1; print "1..5\n";
11 9
12print "ok 1\n"; 10print "ok 1\n";
13 11
14AnyEvent::DNS::resolver; 12AnyEvent::DNS::resolver;
15 13

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines