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

@@ -9,7 +9,7 @@ BEGIN {
use strict;
use warnings FATAL => 'all';
use English qw(-no_match_vars);
use Test::More tests => 16;
use Test::More tests => 17;
use Sandbox;
use OptionParser;
@@ -208,6 +208,7 @@ is(
$hostname,
'name() uses @@hostname'
);
ok($sb->ok(), "Sandbox servers") or BAIL_OUT(__FILE__ . " broke the sandbox");
exit;
# ############################################################################
# Default cxn, should be equivalent to 'h=localhost'.
@@ -255,4 +256,5 @@ $o->get_opts();
# Done.
# #############################################################################
$master_dbh->disconnect() if $master_dbh;
ok($sb->ok(), "Sandbox servers") or BAIL_OUT(__FILE__ . " broke the sandbox");
exit;