Merge fix-953141-recursion-method-array

This commit is contained in:
Daniel Nichter
2012-08-02 12:01:34 -06:00
12 changed files with 975 additions and 544 deletions

View File

@@ -9,7 +9,7 @@ BEGIN {
use strict;
use warnings FATAL => 'all';
use English qw(-no_match_vars);
use Test::More tests => 19;
use Test::More;
use PerconaTest;
shift @INC; # our unshift (above)
@@ -95,6 +95,18 @@ like(
"Default --replicate-check=TRUE"
);
like(
$output,
qr/^\s+--recursion-method=a/m,
"--recursion-method is an array"
);
like(
$output,
qr/^\s+--recursion-method\s+processlist,hosts/m,
"Default --recursion-method is processlist,hosts"
);
# ############################################################################
# Check opts that disable other opts.
# ############################################################################
@@ -170,4 +182,4 @@ like(
# #############################################################################
# Done.
# #############################################################################
exit;
done_testing;