Merge mo-cleanup -r520..524.

This commit is contained in:
Daniel Nichter
2012-12-24 14:41:20 -07:00
parent 5b12357035
commit 861cc8fd96
21 changed files with 762 additions and 57 deletions

20
t/lib/Lmo/object.t Normal file
View File

@@ -0,0 +1,20 @@
#!/usr/bin/perl
BEGIN {
die "The PERCONA_TOOLKIT_BRANCH environment variable is not set.\n"
unless $ENV{PERCONA_TOOLKIT_BRANCH} && -d $ENV{PERCONA_TOOLKIT_BRANCH};
unshift @INC, "$ENV{PERCONA_TOOLKIT_BRANCH}/lib";
};
use strict;
use warnings FATAL => 'all';
use English qw(-no_match_vars);
use Test::More;
use lib "$ENV{PERCONA_TOOLKIT_BRANCH}/t/lib/Lmo";
{ package Clean; use Foo; }
is_deeply([ @Clean::ISA ], [], "Didn't mess with caller's ISA");
is(Clean->can('has'), undef, "Didn't export anything");
done_testing;