| 1 | #!/usr/bin/perl |
| 2 | |
| 3 | use warnings 'all'; |
| 4 | use strict; |
| 5 | BEGIN { |
| 6 | if (-d "lib") { |
| 7 | use lib "./lib"; |
| 8 | } elsif (-d "../lib") { |
| 9 | use lib "../lib"; |
| 10 | } |
| 11 | } |
| 12 | |
| 13 | use Test::Inter; |
| 14 | my $ti = new Test::Inter $0; |
| 15 | |
| 16 | $ti->require_ok('5.001'); |
| 17 | $ti->require_ok('7.001','forbid'); |
| 18 | $ti->require_ok('Config'); |
| 19 | $ti->require_ok('Xxx::Yyy','forbid'); |
| 20 | $ti->require_ok('Symbol','feature'); |
| 21 | $ti->require_ok('Xxx::Zzz','feature'); |
| 22 | |
| 23 | $ti->done_testing(); |
| 24 |