4
die "The PERCONA_TOOLKIT_BRANCH environment variable is not set.\n"
5
unless $ENV{PERCONA_TOOLKIT_BRANCH} && -d $ENV{PERCONA_TOOLKIT_BRANCH};
6
unshift @INC, "$ENV{PERCONA_TOOLKIT_BRANCH}/lib";
10
use warnings FATAL => 'all';
11
use English qw(-no_match_vars);
12
use Test::More tests => 2;
19
my $set_foo = new CleanupTask(sub { $foo = 42; });
23
"Cleanup task not called yet"
30
"Cleanup task called after obj destroyed"
33
# #############################################################################
35
# #############################################################################