1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-03-05 15:05:48 +02:00

Update comments in command/remote module.

This commit is contained in:
David Steele 2020-01-13 13:21:28 -07:00
parent a969a860ab
commit a7738ebba3

View File

@ -25,8 +25,9 @@ testRun(void)
// *****************************************************************************************************************************
if (testBegin("cmdRemote()"))
{
// No remote lock required
// -------------------------------------------------------------------------------------------------------------------------
TEST_TITLE("no lock is required because process is > 0 (not the main remote)");
HARNESS_FORK_BEGIN()
{
HARNESS_FORK_CHILD_BEGIN(0, true)
@ -57,8 +58,9 @@ testRun(void)
}
HARNESS_FORK_END();
// Remote lock not required
// -------------------------------------------------------------------------------------------------------------------------
TEST_TITLE("no remote lock is required for this command");
HARNESS_FORK_BEGIN()
{
HARNESS_FORK_CHILD_BEGIN(0, true)
@ -92,8 +94,9 @@ testRun(void)
}
HARNESS_FORK_END();
// Remote lock required but errors out
// -------------------------------------------------------------------------------------------------------------------------
TEST_TITLE("remote lock is required but lock path is invalid");
HARNESS_FORK_BEGIN()
{
HARNESS_FORK_CHILD_BEGIN(0, true)
@ -127,8 +130,9 @@ testRun(void)
}
HARNESS_FORK_END();
// Remote lock required
// -------------------------------------------------------------------------------------------------------------------------
TEST_TITLE("remote lock is required and succeeds");
HARNESS_FORK_BEGIN()
{
HARNESS_FORK_CHILD_BEGIN(0, true)
@ -168,7 +172,7 @@ testRun(void)
HARNESS_FORK_END();
// -------------------------------------------------------------------------------------------------------------------------
TEST_TITLE("stop file exists");
TEST_TITLE("remote lock is required but stop file exists");
HARNESS_FORK_BEGIN()
{