1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-07-03 00:26:59 +02:00

Starting on archive unit tests.

This commit is contained in:
David Steele
2014-07-13 10:37:16 -04:00
parent 375545320d
commit 8d398e4bff
4 changed files with 67 additions and 23 deletions

View File

@ -140,12 +140,6 @@ sub BackRestTestCommon_ConfigCreate
{
$oParamHash{'global:backup'}{'host'} = $strCommonHost;
$oParamHash{'global:backup'}{'user'} = $strCommonUserBackRest;
# if ($bArchiveLocal)
# {
# $oParamHash{'global:archive'}{'host'} = $strCommonHost;
# $oParamHash{'global:archive'}{'user'} = $strCommonUserBackRest;
# }
}
elsif (defined($strRemote) && $strRemote eq REMOTE_DB)
{
@ -161,7 +155,7 @@ sub BackRestTestCommon_ConfigCreate
elsif ($strLocal eq REMOTE_DB)
{
$oParamHash{'global:log'}{'level-console'} = 'trace';
$oParamHash{'global:backup'}{compress} = 'n';
# $oParamHash{'global:backup'}{compress} = 'n';
}
else
{
@ -171,7 +165,7 @@ sub BackRestTestCommon_ConfigCreate
if ($bArchiveLocal)
{
$oParamHash{'global:archive'}{path} = BackRestTestCommon_ArchivePathGet();
$oParamHash{'global:archive'}{compress} = 'n';
# $oParamHash{'global:archive'}{compress} = 'n';
}
$oParamHash{$strCommonStanza}{'path'} = $strCommonDbCommonPath;