1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-12 10:04:14 +02:00
pgbackrest/test
David Steele 23f5712d02
Allow option validity to be determined by command role.
Validity by command was not granular enough so numerous options needed be marked internal so users would not stumble across them. Options were also needlessly being passed to roles that had no use for them.

Introduce per-role validity lists that depend on what roles are valid per command. Also add a check to ensure that only valid roles are used with a command.

This commit adds the functionality but does not introduce any new behavior, i.e. all options are valid for all roles that the command is valid for. A subsequent commit will introduce the new role restrictions to make the changes easier to audit.
2020-12-28 09:43:23 -05:00
..
certificate New test containers with static test certificates. 2018-11-21 18:13:37 -05:00
code-count Move all parse-related rules to parse module. 2020-12-17 09:32:31 -05:00
data Automate generation of WAL and pg_control test files. 2017-11-18 20:02:54 -05:00
expect Allow multiple remote locks from the same main process. 2020-11-23 12:41:54 -05:00
lib/pgBackRestTest Move most tests to Github Actions. 2020-12-09 15:19:01 -05:00
src Allow option validity to be determined by command role. 2020-12-28 09:43:23 -05:00
.gitignore Move coverage results to test/result. 2020-03-14 15:29:42 -04:00
ci.pl Move most tests to Github Actions. 2020-12-09 15:19:01 -05:00
container.yaml Remove CentOS 6 from tests and documentation. 2020-12-02 16:23:05 -05:00
define.yaml Move all parse-related rules to parse module. 2020-12-17 09:32:31 -05:00
test.pl Move all parse-related rules to parse module. 2020-12-17 09:32:31 -05:00
Vagrantfile Update Vagrant box version. 2020-11-22 16:26:30 -05:00