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 | |
|
|
4 | use AnyEvent; |
|
|
5 | |
|
|
6 | BEGIN { $ENV{PERL_ANYEVENT_LOOP_TESTS} or ((print qq{1..0 # SKIP PERL_ANYEVENT_LOOP_TESTS not true\n}), exit 0) } |
4 | BEGIN { eval q{use AnyEvent::Impl::Glib;1} or ((print qq{1..0 # SKIP AnyEvent::Impl::Glib not loadable}), exit 0) } |
7 | BEGIN { eval q{use AnyEvent::Impl::Glib;1} or ((print qq{1..0 # SKIP AnyEvent::Impl::Glib not loadable\n}), exit 0) } |
|
|
8 | |
|
|
9 | |
5 | use AnyEvent::DNS; |
10 | use AnyEvent::DNS; |
6 | |
11 | |
7 | $| = 1; print "1..5\n"; |
12 | $| = 1; print "1..5\n"; |
8 | |
13 | |
9 | print "ok 1\n"; |
14 | print "ok 1\n"; |