Move --log-dsn tests from kill.t to log_dsn.t. Pass actual dsn, not retval of get_cxn_params() to Cxn. Add Sandbox::get_cnf().

This commit is contained in:
Daniel Nichter
2013-08-12 14:19:57 -07:00
parent c596331280
commit 9d4f23fe53
4 changed files with 369 additions and 238 deletions

View File

@@ -397,6 +397,12 @@ sub dsn_for {
return "h=127.1,P=$port_for{$host},u=msandbox,p=msandbox";
}
sub cnf_for {
my ($self, $host) = @_;
_check_server($host);
return "/tmp/" . $port_for{$host} . "/my.sandbox.cnf";
}
sub genlog {
my ($self, $host) = @_;
_check_server($host);