The Debian package includes a regression test for pgagent which might
be useful for others as well. It installs a simple job, fires up
pgagent for 80 s (using `timeout` from coreutils), and checks if the
job was run at least once.
Christoph
On Fri, Jul 20, 2018 at 10:28 AM, Christoph Berg <myon@debian.org> wrote:
The Debian package includes a regression test for pgagent which might be useful for others as well. It installs a simple job, fires up pgagent for 80 s (using `timeout` from coreutils), and checks if the job was run at least once.
Cool, thanks!
I've committed this with a few minor changes:
- Update the expected output files which seemed to have Windows line endings which caused failures.
- Remove the dependency on the "timeout" command which doesn't exist on macOS (and the version in macPorts doesn't play nicely with /dev/null). Use bash-fu instead.
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера