Re-add calls to Sandbox::ok().

This commit is contained in:
Daniel Nichter
2012-06-03 13:54:32 -04:00
parent cae983afc2
commit bdbb66d22b
178 changed files with 357 additions and 178 deletions

View File

@@ -28,7 +28,7 @@ if ( !@{ $dbh->selectall_arrayref('show databases like "sakila"') } ) {
plan skip_all => "Sakila database is not loaded";
}
else {
plan tests => 9;
plan tests => 10;
}
my $cnf = '/tmp/12345/my.sandbox.cnf';
@@ -140,4 +140,5 @@ is(
# Done.
# #############################################################################
ok($sb->ok(), "Sandbox servers") or BAIL_OUT(__FILE__ . " broke the sandbox");
ok($sb->ok(), "Sandbox servers") or BAIL_OUT(__FILE__ . " broke the sandbox");
exit;

View File

@@ -28,7 +28,7 @@ if ( !@{ $dbh->selectall_arrayref('show databases like "sakila"') } ) {
plan skip_all => "Sakila database is not loaded";
}
else {
plan tests => 18;
plan tests => 19;
}
my $cnf = '/tmp/12345/my.sandbox.cnf';
@@ -366,4 +366,5 @@ SKIP: {
# #############################################################################
$sb->wipe_clean($dbh);
ok($sb->ok(), "Sandbox servers") or BAIL_OUT(__FILE__ . " broke the sandbox");
ok($sb->ok(), "Sandbox servers") or BAIL_OUT(__FILE__ . " broke the sandbox");
exit;