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.2 by root, Thu Jul 9 22:49:18 2009 UTC vs.
Revision 1.3 by root, Sat Jul 18 00:05:29 2009 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; use IO::Async::Loop; AnyEvent::Impl::IOAsync::set_loop new IO::Async::Loop; 4BEGIN { eval q{use AnyEvent::Impl::IOAsync;1} or ((print qq{1..0 # SKIP AnyEvent::Impl::IOAsync not found}), exit 0) } use IO::Async::Loop; AnyEvent::Impl::IOAsync::set_loop new IO::Async::Loop;
8use AnyEvent::DNS; 5use AnyEvent::DNS;
6
7$| = 1; print "1..5\n";
9 8
10print "ok 1\n"; 9print "ok 1\n";
11 10
12AnyEvent::DNS::resolver; 11AnyEvent::DNS::resolver;
13 12

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines