Fix Bash tests. Add basic pt-align tests.

This commit is contained in:
Daniel Nichter
2011-08-02 15:14:06 -06:00
parent 56b099d7de
commit 945cfbd153
43 changed files with 149 additions and 182 deletions

25
t/pt-mext/pt-mext.t Normal file
View File

@@ -0,0 +1,25 @@
#!/usr/bin/env 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 tests => 1;
use PerconaTest;
like(
`$trunk/bin/pt-mext 2>&1`,
qr/Usage:/,
'It runs'
);
# #############################################################################
# Done.
# #############################################################################
exit;