You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-11-06 08:49:29 +02:00
Master test log is output to file.
This commit is contained in:
@@ -15,7 +15,7 @@ $SIG{__DIE__} = sub { Carp::confess @_ };
|
|||||||
|
|
||||||
use File::Basename qw(dirname);
|
use File::Basename qw(dirname);
|
||||||
use Getopt::Long qw(GetOptions);
|
use Getopt::Long qw(GetOptions);
|
||||||
use Cwd qw(abs_path);
|
use Cwd qw(abs_path cwd);
|
||||||
use Pod::Usage qw(pod2usage);
|
use Pod::Usage qw(pod2usage);
|
||||||
use POSIX qw(ceil);
|
use POSIX qw(ceil);
|
||||||
use Time::HiRes qw(gettimeofday);
|
use Time::HiRes qw(gettimeofday);
|
||||||
@@ -165,7 +165,7 @@ if ($bQuiet)
|
|||||||
$strLogLevel = 'off';
|
$strLogLevel = 'off';
|
||||||
}
|
}
|
||||||
|
|
||||||
logLevelSet(undef, uc($strLogLevel));
|
logLevelSet(uc($strLogLevel), uc($strLogLevel));
|
||||||
|
|
||||||
if ($strModuleTest ne 'all' && $strModule eq 'all')
|
if ($strModuleTest ne 'all' && $strModule eq 'all')
|
||||||
{
|
{
|
||||||
@@ -332,6 +332,11 @@ eval
|
|||||||
################################################################################################################################
|
################################################################################################################################
|
||||||
if ($strOS ne 'none')
|
if ($strOS ne 'none')
|
||||||
{
|
{
|
||||||
|
if (!$bDryRun)
|
||||||
|
{
|
||||||
|
logFileSet(cwd() . "/test");
|
||||||
|
}
|
||||||
|
|
||||||
my $oyVm = vmGet();
|
my $oyVm = vmGet();
|
||||||
|
|
||||||
if ($strOS ne 'all' && !defined($${oyVm}{$strOS}))
|
if ($strOS ne 'all' && !defined($${oyVm}{$strOS}))
|
||||||
|
|||||||
Reference in New Issue
Block a user