[perl #40822] Pg NCI Test Makes Unportable Connection

Will Coleda via RT parrotbug-followup at parrotcode.org
Fri Oct 30 01:12:01 UTC 2009


On Sat Nov 11 14:23:40 2006, chromatic at wgz.org wrote:
> t/library/pg.t fails pretty miserably on this line:
> 
> 	    con = cl.'connectdb'('')           # assume table = user is
> present
> 
> I have PostgreSQL installed, but this assumption doesn't work for me.
> I've
> checked in a skip for the remaining tests in this case, as there's no
> point
> in running them.  (They cause NCI assertion failures, as the NULL
> connection
> isn't what NCI expects to pass to the Pg functions.)
> 
> This test needs another approach to run on multiple platforms
> successfully.
> Setting an environment variable for user name and password might work
> better.
> 
> -- c

Now being tracked in https://trac.parrot.org/parrot/ticket/1162
-- 
Will "Coke" Coleda


More information about the parrot-dev mailing list