mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-02-11 13:53:03 +02:00
Remove useless command/check unit test.
This test was a placeholder and did not provide any coverage, but it did give inconsistent results on different shell versions.
This commit is contained in:
parent
29b2a54fcc
commit
148956aed8
@ -740,7 +740,7 @@ unit:
|
|||||||
|
|
||||||
# ----------------------------------------------------------------------------------------------------------------------------
|
# ----------------------------------------------------------------------------------------------------------------------------
|
||||||
- name: check
|
- name: check
|
||||||
total: 4
|
total: 3
|
||||||
containerReq: true
|
containerReq: true
|
||||||
|
|
||||||
coverage:
|
coverage:
|
||||||
|
@ -367,24 +367,6 @@ testRun(void)
|
|||||||
TEST_RESULT_VOID(checkPrimary(dbGroup), "primary == NULL");
|
TEST_RESULT_VOID(checkPrimary(dbGroup), "primary == NULL");
|
||||||
}
|
}
|
||||||
|
|
||||||
// *****************************************************************************************************************************
|
|
||||||
if (testBegin("checkManifest()"))
|
|
||||||
{
|
|
||||||
argList = strLstNew();
|
|
||||||
hrnCfgArgRawZ(argList, cfgOptStanza, "test1");
|
|
||||||
hrnCfgArgRawZ(argList, cfgOptPgPath, TEST_PATH "/pg");
|
|
||||||
hrnCfgArgKeyRawZ(argList, cfgOptPgHost, 5, "localhost");
|
|
||||||
hrnCfgArgKeyRawZ(argList, cfgOptPgHostCmd, 5, "pgbackrest-bogus");
|
|
||||||
hrnCfgArgKeyRawZ(argList, cfgOptPgPath, 5, "/path/to/pg5");
|
|
||||||
hrnCfgArgKeyRawZ(argList, cfgOptPgHostUser, 5, TEST_USER);
|
|
||||||
HRN_CFG_LOAD(cfgCmdCheck, argList);
|
|
||||||
|
|
||||||
// Placeholder test for manifest
|
|
||||||
TEST_ERROR(
|
|
||||||
checkManifest(), UnknownError,
|
|
||||||
"remote-0 process on 'localhost' terminated unexpectedly [127]: bash: pgbackrest-bogus: command not found");
|
|
||||||
}
|
|
||||||
|
|
||||||
// *****************************************************************************************************************************
|
// *****************************************************************************************************************************
|
||||||
if (testBegin("checkDbConfig(), checkArchiveCommand()"))
|
if (testBegin("checkDbConfig(), checkArchiveCommand()"))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user