[check_postgres-announce] problems running "make test"

Guillaume Lelarge guillaume at lelarge.info
Sun Apr 14 16:04:31 UTC 2013


On Sun, 2013-04-14 at 08:37 -0400, pgdude wrote:
> It creates the test_database_check_postgres directory right under the directory where I run the "make test" command, but there is nothing in it.
> 

Is the initdb command available? I mean, in the PATH?

And please, don't top-post.

> -----Original Message-----
> From: Guillaume Lelarge [mailto:guillaume at lelarge.info] 
> Sent: Sunday, April 14, 2013 4:53 AM
> To: pgdude
> Cc: check_postgres-announce at bucardo.org
> Subject: Re: [check_postgres-announce] problems running "make test"
> 
> On Fri, 2013-04-05 at 10:49 -0400, pgdude wrote:
> > Hi all,
> >  
> > I am trying to install check_postgres on Centos 6.3 64 bit.  It fails 
> > on the "make test" command.  What am I doing wrong?
> >  
> > perl Makefile.PL  
> >         Configuring check_postgres 2.20.0
> >         Checking if your kit is complete...
> >         Looks good
> >         Writing Makefile for check_postgres make
> >         cp check_postgres.pl blib/script/check_postgres.pl
> >         /usr/bin/perl -MExtUtils::MY -e 'MY->fixin(shift)' -- 
> > blib/script/check_postgres.pl
> >         Manifying blib/man3/check_postgres.3
> >  
> > make test
> >                 PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM"
> > "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> >                 t/00_basic.t ............... ok
> >                 t/00_signature.t ........... skipped: Test skipped 
> > unless environment variable RELEASE_TESTING is set
> >                 t/00_test_tester.t ......... skipped: Test skipped 
> > unless environment variable RELEASE_TESTING is set
> >                 t/01_validate_range.t ...... ok
> >                 t/02_autovac_freeze.t ...... # Creating database in 
> > directory "test_database_check_postgres"
> >                 Could not open "test_database_check_postgres/data
> > space/postgresql.conf": No such file or directory
> >                 # Looks like your test exited with 2 before it could 
> > output anything.
> >                 t/02_autovac_freeze.t ...... Dubious, test returned 2 
> > (wstat 512, 0x200)
> >                 Failed 8/8 subtests
> >                 t/02_backends.t ............ Could not open 
> > "test_database_check_postgres/data space/postgresql.conf": No such 
> > file or directory
> >                 # Looks like your test exited with 2 before it could 
> > output anything.
> >                 t/02_backends.t ............ Dubious, test returned 2 
> > (wstat 512, 0x200)
> >                 Failed 52/52 subtests
> >  
> 
> Do you have a test_database_check_postgres in your current directory? if so, what does it contain?
> 
> 
> --
> Guillaume
> http://blog.guillaume.lelarge.info
> http://www.dalibo.com
> 
> 


-- 
Guillaume
http://blog.guillaume.lelarge.info
http://www.dalibo.com



More information about the Check_postgres-announce mailing list