mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-04 19:37:49 +00:00
Add failing test for bug 1304062.
This commit is contained in:
@@ -197,7 +197,7 @@ SKIP: {
|
||||
result => "d1.t3 ",
|
||||
test_name => '--ignore-databases and --ignore-tables',
|
||||
);
|
||||
|
||||
|
||||
# Select some dbs but ignore some tables.
|
||||
test_so(
|
||||
filters => ['-d', 'd1', '--ignore-tables', 't1,t3'],
|
||||
@@ -563,6 +563,20 @@ test_so(
|
||||
|
||||
diag(`/tmp/12345/use < $trunk/t/lib/samples/100-dbs-drop.sql`);
|
||||
|
||||
|
||||
# #############################################################################
|
||||
# https://bugs.launchpad.net/percona-toolkit/+bug/1304062
|
||||
# #############################################################################
|
||||
|
||||
$sb->load_file('master', "t/lib/samples/SchemaIterator.sql");
|
||||
$dbh->do("CREATE TABLE d3.t1 (id int auto_increment primary key, c char(8))");
|
||||
|
||||
test_so(
|
||||
filters => ['--ignore-tables', 'd1.t1,d2.t1'],
|
||||
result => "d1.t2 d1.t3 d3.t1 mysql.columns_priv mysql.db mysql.event mysql.func mysql.help_category mysql.help_keyword mysql.help_relation mysql.help_topic mysql.ndb_binlog_index mysql.plugin mysql.proc mysql.procs_priv mysql.proxies_priv mysql.servers mysql.tables_priv mysql.time_zone mysql.time_zone_leap_second mysql.time_zone_name mysql.time_zone_transition mysql.time_zone_transition_type mysql.user percona_test.checksums percona_test.load_data percona_test.sentinel sakila.actor sakila.address sakila.category sakila.city sakila.country sakila.customer sakila.film sakila.film_actor sakila.film_category sakila.film_text sakila.inventory sakila.language sakila.payment sakila.rental sakila.staff sakila.store ",
|
||||
test_name => '--ignore-tables (bug 1304062)',
|
||||
);
|
||||
|
||||
# #############################################################################
|
||||
# Done.
|
||||
# #############################################################################
|
||||
|
Reference in New Issue
Block a user