Add --ignore-tables test.

This commit is contained in:
Daniel Nichter
2011-10-21 10:03:27 -06:00
parent 39a071ebe7
commit 70dcdc3292

View File

@@ -25,7 +25,7 @@ if ( !$dbh ) {
plan skip_all => 'Cannot connect to sandbox master';
}
else {
plan tests => 7;
plan tests => 8;
}
# The sandbox servers run with lock_wait_timeout=3 and it's not dynamic
@@ -107,6 +107,25 @@ test_filter(
['sakila.film_text'],
);
test_filter(
[qw(--databases sakila --ignore-tables),
'sakila.actor,sakila.address,category,city,payment'
],
[qw(
sakila.country
sakila.customer
sakila.film
sakila.film_actor
sakila.film_category
sakila.film_text
sakila.inventory
sakila.language
sakila.rental
sakila.staff
sakila.store
)],
);
# #############################################################################
# Done.
# #############################################################################