DBD-EmpressNet
view release on metacpan or search on metacpan
}
#----------------------------------------------------------------------
# Which version of DBD::Empress
#----------------------------------------------------------------------
$dsql = FALSE;
print ("Running tests in Network mode\n");
$host = hostname ();
$dir = cwd ();
$myuser = getpwuid $<;
system ("rm -rf config");
system ("mkdir config");
$conn_dbname = "SERVER=$host;Database=j_test_db;UID=$myuser;PWD=";
open (ODBC, ">config/srv.conf")
|| die ("open server config file failed");
print ODBC "EMPODBC_WORKINGDIR = $dir\n";
print ODBC "EMPODBC_PASSWDFILE = $dir/config/passwd\n";
print ODBC "EMPODBC_LOGFILE = $dir/odbc.log\n";
close ODBC;
open (PWORD, ">config/passwd");
}
#----------------------------------------------------------------------
# Which version of DBD::Empress
#----------------------------------------------------------------------
$dsql = FALSE;
print ("Running tests in Network mode\n");
$host = hostname ();
$dir = cwd ();
$myuser = getpwuid $<;
system ("rm -rf config");
system ("mkdir config");
$conn_dbname = "SERVER=$host;Database=test_db;UID=$myuser;PWD=";
open (ODBC, ">config/srv.conf")
|| die ("open server config file failed");
print ODBC "EMPODBC_WORKINGDIR = $dir\n";
print ODBC "EMPODBC_PASSWDFILE = $dir/config/passwd\n";
print ODBC "EMPODBC_LOGFILE = $dir/odbc.log\n";
close ODBC;
open (PWORD, ">config/passwd");
( run in 0.307 second using v1.01-cache-2.11-cpan-8d75d55dd25 )