> I had a look at this today and came up with the attached v2. Apart from some
> comment changes the main difference is that I placed the test in an already
> existing testfile to reduce the number of initdb's required, and added a test
> for the error message in the logfile.
Looks better than my version, I always forget that I should also keep
test execution time in mind.