1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-08-01 06:46:52 +03:00

Move protocol module from common to command.

This module has dependencies on command/command so it does not make sense for it to be in the common module. Also move protocolFree() to main() since this is a very large dependency.

Adjust the tests so command/exit can be tested later. This is a bit messy but will get adjusted as we improve the test harness.
This commit is contained in:
David Steele
2022-06-17 11:17:52 -04:00
parent eb72a80b47
commit 55bcb933ee
10 changed files with 64 additions and 63 deletions

View File

@ -439,6 +439,14 @@ src/command/control/stop.h:
class: core
type: c/h
src/command/exit.c:
class: core
type: c
src/command/exit.h:
class: core
type: c/h
src/command/expire/expire.c:
class: core
type: c
@ -807,14 +815,6 @@ src/common/exec.h:
class: core
type: c/h
src/common/exit.c:
class: core
type: c
src/common/exit.h:
class: core
type: c/h
src/common/fork.c:
class: core
type: c
@ -2179,6 +2179,10 @@ test/src/module/command/controlTest.c:
class: test/module
type: c
test/src/module/command/exitTest.c:
class: test/module
type: c
test/src/module/command/expireTest.c:
class: test/module
type: c
@ -2255,10 +2259,6 @@ test/src/module/common/execTest.c:
class: test/module
type: c
test/src/module/common/exitTest.c:
class: test/module
type: c
test/src/module/common/forkTest.c:
class: test/module
type: c