Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#405 closed defect (fixed)

Disabled ~/.psqlrc During `make check`

Reported by: theory Owned by: pramsey
Priority: medium Milestone:
Component: postgis Version:
Keywords: check, test, .psqlrc Cc:

Description

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

Change History (2)

comment:1 by pramsey, 15 years ago

Resolution: fixed
Status: newclosed

Added --no-psqlrc to run_test at r5192 in 1.4 branch and at r5193 in trunk.

comment:2 by theory, 15 years ago

Quick work, thanks!

David

Note: See TracTickets for help on using tickets.