In tab-completion test, print out the value of TERM before changing it.

I'm curious to see what values are prevailing in the buildfarm.

Discussion: https://postgr.es/m/23181.1578167938@sss.pgh.pa.us
This commit is contained in:
Tom Lane 2020-01-04 15:05:24 -05:00
parent 5b630501e9
commit 60ab7c80b4
1 changed files with 3 additions and 0 deletions

View File

@ -38,6 +38,9 @@ $node->safe_psql('postgres',
my $historyfile = "${TestLib::log_path}/010_psql_history.txt";
$ENV{PSQL_HISTORY} = $historyfile;
# Debug investigation
note "TERM is set to '" . ($ENV{TERM} || "<undef>") . "'";
# Ensure that readline/libedit puts out xterm escapes, not something else.
$ENV{TERM} = 'xterm';