postgrespro.git / summary / log / commit / refs
commit 60ab7c80b4de2c3591e50dfb5ed0fd4002f0f2f2
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: Sat Jan 04 20:05:24 2020 +0000
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
src/bin/psql/t/010_tab_completion.pl | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/bin/psql/t/010_tab_completion.pl b/src/bin/psql/t/010_tab_completion.pl
index ed9e9e12db..1dc87b504f 100644
--- a/src/bin/psql/t/010_tab_completion.pl
+++ b/src/bin/psql/t/010_tab_completion.pl
@@ -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';
[parent: 5b630501e9fa]