Re: pgsql: Add basic TAP tests for psql's tab-completion logic.
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Christoph Berg <myon@debian.org>
Cc: Andres Freund <andres@anarazel.de>, Amit Kapila <amit.kapila16@gmail.com>,
PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2020-01-06T23:06:28Z
Lists: pgsql-hackers
Christoph Berg <myon@debian.org> writes: > Re: Tom Lane 2020-01-06 <3764.1578323719@sss.pgh.pa.us> >>> Does not work on Ubuntu bionic, xenial. (Others not tested.) >> Hmm ... do we care? The test output seems to show that xenial's >> 3.1-20150325-1ubuntu2 libedit is completely broken. Maybe there's >> a way to work around that, but it's not clear to me that that'd >> be a useful expenditure of time. You're not really going to be >> building PG13 for that release are you? > xenial (16.04) is a LTS release with support until 2021-04, and the > current plan was to support it. I now realize that's semi-close to the > 13 release date, but so far we have tried to really support all > PG-Distro combinations. I installed libedit_3.1-20150325.orig.tar.gz from source here, and it passes our current regression test and seems to behave just fine in light manual testing. (I did not apply any of the Debian-specific patches at [1], but they don't look like they'd explain much.) So I'm a bit at a loss as to what's going wrong for you. Is the test environment for Xenial the same as for the other branches? regards, tom lane [1] https://launchpad.net/ubuntu/+source/libedit/3.1-20150325-1ubuntu2
Commits
-
Skip tab-completion tests if envar SKIP_READLINE_TESTS is defined.
- e7ee433137b6 13.0 landed
-
Minor style improvements for tab-completion test.
- 8c081a2f4e8e 13.0 landed
-
Avoid reading ~/.inputrc in tab-completion test, and revert other changes.
- 48e03583cd37 13.0 landed
-
Don't try to force TERM to a fixed value in tab-completion test.
- 7e42478186aa 13.0 landed
-
In tab-completion test, print out the value of TERM before changing it.
- 60ab7c80b4de 13.0 landed
-
Make tab-completion tests more robust.
- fac1c04feca6 13.0 landed
-
Further fixes for tab-completion TAP tests.
- 56a3921a2f51 13.0 landed
-
Add an ugly workaround for a bug in some recent libedit versions.
- ddd87d564508 13.0 landed
-
Add basic TAP tests for psql's tab-completion logic.
- 7c015045b914 13.0 cited
-
Fix running out of file descriptors for spill files.
- d20703805383 13.0 cited