Disabled ~/.psqlrc During `make check`
|Reported by:||theory||Owned by:||pramsey|
|Keywords:||check, test, .psqlrc||Cc:|
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:
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.