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.