Further fixes for tab-completion TAP tests.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 3 Jan 2020 17:54:13 +0000 (12:54 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 3 Jan 2020 17:54:13 +0000 (12:54 -0500)
commit56a3921a2f5102f804bd0ff741e144a0e6f1c0b6
treea6a2099c4c0b0e560b52efa18f897d5d0ca9abc7
parentddd87d564508bb1c80aac0a4439cfe74a3c203a9
Further fixes for tab-completion TAP tests.

Escape non-printable characters in failure reports, by using Data::Dumper
in Useqq mode.  Also, bump $Test::Builder::Level so the diagnostic
references the calling line, and use diag() instad of note(),
so it shows even in non-verbose mode (per request from Christoph Berg).

Also, give up on trying to test for the specific way that readline
chooses to overwrite existing text in the \DRD -> \drds test.
There are too many variants, it seems, at least on the libedit
side of things.

Dagfinn Ilmari MannsÃ¥ker and Tom Lane

Discussion: https://postgr.es/m/20200103110128.GA28967@msg.df7cb.de
src/bin/psql/t/010_tab_completion.pl