--- AnyEvent/t/63_eventlib_05_dns.t 2009/07/08 05:30:55 1.1 +++ AnyEvent/t/63_eventlib_05_dns.t 2009/07/18 00:05:29 1.2 @@ -1,12 +1,11 @@ -$|=1; -BEGIN { print "1..5\n" } - # we avoid complicated tests here because some systems will # not have working DNS -use AnyEvent::Impl::EventLib; +BEGIN { eval q{use AnyEvent::Impl::EventLib;1} or ((print qq{1..0 # SKIP AnyEvent::Impl::EventLib not found}), exit 0) } use AnyEvent::DNS; +$| = 1; print "1..5\n"; + print "ok 1\n"; AnyEvent::DNS::resolver;