mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-01-30 05:39:12 +02:00
d205a61949
Older versions of ninja may fail to rebuild correctly when changes are made to the configuration. In this case there is an automatic retry but the unexpected log output would cause the test to fail. For tests that are expected to succeed, check that the log is empty but also accept a retry message as long as the test does eventually succeed. Add a new harness function, harnessLogResultEmptyOrContains(), to make this work and also clean up some adjacent code.