[check_postgres] what to do with same_schema behaviour

Greg Sabino Mullane greg at endpoint.com
Fri Jan 29 16:13:26 UTC 2010


> > http://bucardo.org/bugzilla/show_bug.cgi?id=24
...
> I took some free time to work on this. Patch attached. I checked it a
> few times, and it seems to work well. I'm not a Perl coder, so take a
> good look at it. There's probably a better way to do what I did.

Patch looked fine, except I switched "eq" with "ne", and simplified the 
column = position bit.

> BTW, the subdirectory "t" seems to be about unit testing. Is that so?
> How can one launch all the checks?

make test

should run all the tests (after you've done: perl Makefile.PL; make)

You can also run individual ones like this:

prove --blib . t/02_same_schema.t

The same but with details of each test as it goes along:

prove --blib -v . t/02_same_schema.t


-- 
Greg Sabino Mullane greg at endpoint.com
End Point Corporation
PGP Key: 0x14964AC8
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 163 bytes
Desc: not available
Url : https://mail.endcrypt.com/pipermail/check_postgres/attachments/20100129/beaadd5f/attachment.bin 


More information about the Check_postgres mailing list