1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-11-06 08:49:29 +02:00

Prevent log test regexp replacement when multithreaded. Logging should be completely disabled in this case.

This commit is contained in:
David Steele
2015-05-29 22:11:51 -04:00
parent 1586e0eb75
commit 200e3b26fe

View File

@@ -277,7 +277,7 @@ sub BackRestTestCommon_ExecuteBegin
$bFullLog = false;
if ($strCommandParam =~ /\/bin\/pg_backrest\.pl/)
if (defined($strModule) && $strCommandParam =~ /\/bin\/pg_backrest\.pl/)
{
$strCommandParam = BackRestTestCommon_ExecuteRegAll($strCommandParam);