[check_postgres] what to do with same_schema behaviour

Guillaume Lelarge guillaume at lelarge.info
Fri Jan 29 23:36:30 UTC 2010


Le 29/01/2010 17:13, Greg Sabino Mullane a écrit :
>>> 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.
> 

Great.

>> 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
> 

Thanks, I'll look at it a bit more.


-- 
Guillaume.
 http://www.postgresqlfr.org
 http://dalibo.com


More information about the Check_postgres mailing list