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.4 by root, Mon Jul 20 22:39:57 2009 UTC vs.
Revision 1.9 by root, Tue Jul 30 23:14:33 2013 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines