[postgis-devel] [PostGIS] #405: Disabled ~/.psqlrc During `make check`
PostGIS
trac at osgeo.org
Tue Feb 2 15:31:20 PST 2010
#405: Disabled ~/.psqlrc During `make check`
----------------------------------+-----------------------------------------
Reporter: theory | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone:
Component: postgis | Version:
Keywords: check, test, .psqlrc |
----------------------------------+-----------------------------------------
I just got 41/42 failures on `make check` with 1.4.2. I had a look at the
first diff file and saw this:
{{{
*** loader/Point-wkb.expected 2006-06-17 04:44:12.000000000 -0700
--- /var/folders/V7/V7WFvTV+HCO3Q-XyeeqT4++++TI/-Tmp-//test_1_out 2010-
02-02 15:23:19.000
***************
*** 1,3 ****
--- 1,4 ----
POINT(0 1)
POINT(9 -1)
POINT(9 -1)
+ Time: 4.922 ms
}}}
That bit at the bottom is because I have this line in ~/.psqlrc:
{{{
\timing
}}}
There are other tests that fail because I have other stuff in my
~/.psqlrc. When I rename it, all tests pass.
The upshot is that the tests need to pass the -X option to psql to disable
~/.psqlrc when they run. I looked around to see where to do that, but
couldn't find the right place. Otherwise I would have attached a patch.
Thanks,
David
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/405>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-devel
mailing list