Call Sandbox::box() in all tests that use Sandbox.

This commit is contained in:
Daniel Nichter
2012-06-03 12:59:56 -04:00
parent d9a786d8f3
commit 7e880b0808
170 changed files with 341 additions and 170 deletions

View File

@@ -27,7 +27,7 @@ elsif ( !$slave_dbh ) {
plan skip_all => 'Cannot connect to sandbox slave';
}
else {
plan tests => 12;
plan tests => 13;
}
my $cnf = '/tmp/12345/my.sandbox.cnf';
@@ -165,4 +165,5 @@ like(
# #############################################################################
# Done.
# #############################################################################
ok($sb->ok(), "Sandbox servers") or BAIL_OUT(__FILE__ . " broke the sandbox");
exit;

View File

@@ -27,7 +27,7 @@ elsif ( !$slave_dbh ) {
plan skip_all => 'Cannot connect to sandbox slave';
}
else {
plan tests => 2;
plan tests => 3;
}
my $cnf = '/tmp/12345/my.sandbox.cnf';
@@ -61,4 +61,5 @@ is(
# #############################################################################
# Done.
# #############################################################################
ok($sb->ok(), "Sandbox servers") or BAIL_OUT(__FILE__ . " broke the sandbox");
exit;