1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-12 10:04:14 +02:00
pgbackrest/test/lib/pgBackRestTest/Module
David Steele e73416e9e3 Change file ownership only when required.
Previously chown() would be called even when no ownership changes were required.

In most cases changes are not required and it seems better to perform an extra stat() rather than an extra chown().

Also add unit tests for owner() since there weren't any.
2018-12-05 17:56:47 -05:00
..
Archive Rename CipherError to CryptoError. 2018-11-06 19:38:38 -05:00
Backup Rename CipherError to CryptoError. 2018-11-06 19:38:38 -05:00
Common Rename PGBACKREST/BACKREST constants to PROJECT. 2018-11-24 19:05:03 -05:00
Info Rename CipherError to CryptoError. 2018-11-06 19:38:38 -05:00
Manifest Automatically enable backup checksum delta when anomalies (e.g. timeline switch) are detected. 2018-11-01 11:31:25 -04:00
Mock Improve error message when info files are missing/corrupt. 2018-11-28 18:41:21 -05:00
Performance Rename db-* options to pg-* and backup-* options to repo-* to improve consistency. 2018-02-03 18:27:38 -05:00
Protocol Rename PGBACKREST/BACKREST constants to PROJECT. 2018-11-24 19:05:03 -05:00
Real Rename PGBACKREST/BACKREST constants to PROJECT. 2018-11-24 19:05:03 -05:00
Stanza Rename CipherError to CryptoError. 2018-11-06 19:38:38 -05:00
Storage Change file ownership only when required. 2018-12-05 17:56:47 -05:00