petdance/scratch — Issue #156: Pg NCI Test Makes Unportable Connection
Author: petdance
Created: 2011-11-01 04:25:01+00:00
State: open

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