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

@@ -23,7 +23,7 @@ if ( !$dbh ) {
plan skip_all => 'Cannot connect to sandbox master';
}
else {
plan tests => 2;
plan tests => 3;
}
# #############################################################################
@@ -56,4 +56,5 @@ is_deeply(
# #############################################################################
$sb->wipe_clean($dbh);
diag(`rm -rf ./session-results-*`);
ok($sb->ok(), "Sandbox servers") or BAIL_OUT(__FILE__ . " broke the sandbox");
exit;

View File

@@ -23,7 +23,7 @@ if ( !$dbh ) {
plan skip_all => 'Cannot connect to sandbox master';
}
else {
plan tests => 2;
plan tests => 3;
}
# #############################################################################
@@ -53,4 +53,5 @@ like(
# Done.
# #############################################################################
diag(`rm -rf ./session-results-*`);
ok($sb->ok(), "Sandbox servers") or BAIL_OUT(__FILE__ . " broke the sandbox");
exit;

View File

@@ -23,7 +23,7 @@ if ( !$dbh ) {
plan skip_all => 'Cannot connect to sandbox master';
}
else {
plan tests => 19;
plan tests => 20;
}
my $output;
@@ -94,4 +94,5 @@ diag(`rm session-results-*.txt 2>/dev/null`);
# #############################################################################
diag(`rm -rf $tmpdir 2>/dev/null`);
$sb->wipe_clean($dbh);
ok($sb->ok(), "Sandbox servers") or BAIL_OUT(__FILE__ . " broke the sandbox");
exit;