1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-07-17 01:12:23 +02:00

Various option and unit test fixes.

This commit is contained in:
David Steele
2015-03-24 18:50:14 -04:00
parent a3604bc512
commit a998119cba
4 changed files with 48 additions and 35 deletions

View File

@ -1419,13 +1419,11 @@ sub BackRestTestBackup_Test
for (my $bCompress = false; $bCompress <= true; $bCompress++)
{
for (my $bArchiveAsync = false; $bArchiveAsync <= true; $bArchiveAsync++)
{
for (my $bCompressAsync = false; $bCompressAsync <= true; $bCompressAsync++)
{
# Increment the run, log, and decide whether this unit test should be run
if (!BackRestTestCommon_Run(++$iRun,
"rmt ${bRemote}, cmp ${bCompress}, " .
"arc_async ${bArchiveAsync}, cmp_async ${bCompressAsync}")) {next}
"arc_async ${bArchiveAsync}")) {next}
# Create the test directory
if ($bCreate)
@ -1451,7 +1449,7 @@ sub BackRestTestBackup_Test
undef, # hardlink
undef, # thread-max
$bArchiveAsync,
$bCompressAsync);
undef);
my $strCommand = BackRestTestCommon_CommandMainGet() . ' --config=' . BackRestTestCommon_DbPathGet() .
'/pg_backrest.conf --stanza=db archive-push';
@ -1512,7 +1510,6 @@ sub BackRestTestBackup_Test
}
}
}
}
$bCreate = true;
}