1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-14 10:13:05 +02:00
pgbackrest/test
David Steele 76cfd8ca70
Allow [, #, and space as the first character in database names.
iniLoad() was trimming lines which meant that a leading space would not pass checksum validation when a manifest was reloaded. Remove the trims since files we write should never contain extraneous spaces. This further diverges the format for the functions that read conf files (e.g. pgbackrest.conf) and those that read info (e.g. manifest) files.

While we are at it also allow [ and # as initial characters. # was reserved for comments but we never put comments into info files. [ denotes a section but we can get around this by never allowing arrays as values in info files, so if a line ends in ] it must be a section. This is currently the case but enforce it by adding an assert to info/info.c.
2020-10-24 11:07:07 -04:00
..
certificate New test containers with static test certificates. 2018-11-21 18:13:37 -05:00
code-count v2.30: PostgreSQL 13 Support 2020-10-05 11:51:45 -04:00
data Automate generation of WAL and pg_control test files. 2017-11-18 20:02:54 -05:00
expect Reset additional options in real/all integration test. 2020-10-19 17:06:52 -04:00
lib/pgBackRestTest Reset additional options in real/all integration test. 2020-10-19 17:06:52 -04:00
src Allow [, #, and space as the first character in database names. 2020-10-24 11:07:07 -04:00
.gitignore Move coverage results to test/result. 2020-03-14 15:29:42 -04:00
container.yaml Update test containers for PostgreSQL 13. 2020-09-24 11:19:51 -04:00
define.yaml Add internal verify command. 2020-09-22 11:57:38 -04:00
test.pl Add --no-coverage-report to test.pl to disable report generation. 2020-06-17 15:07:30 -04:00
travis.pl Add --no-coverage-report to test.pl to disable report generation. 2020-06-17 15:07:30 -04:00
Vagrantfile Add jq to tools installed by Vagrantfile. 2020-05-14 18:45:23 -04:00