You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-11-06 08:49:29 +02:00
Only allow --no-cleanup option when a single test is selected.
This commit is contained in:
@@ -435,6 +435,13 @@ eval
|
||||
confess &log(ERROR, 'no tests were selected');
|
||||
}
|
||||
|
||||
&log(INFO, $iTestsToRun . ' test' . ($iTestsToRun > 1 ? 's': '') . " selected\n");
|
||||
|
||||
if ($bNoCleanup && $iTestsToRun > 1)
|
||||
{
|
||||
confess &log(ERROR, '--no-cleanup is not valid when more than one test will run')
|
||||
}
|
||||
|
||||
my $iTestFail = 0;
|
||||
my $oyProcess = [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user