The Debian package includes a regression test for pgagent which mightbe useful for others as well. It installs a simple job, fires uppgagent for 80 s (using `timeout` from coreutils), and checks if thejob was run at least once.
Christoph