From 60ab7c80b4de2c3591e50dfb5ed0fd4002f0f2f2 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sat, 4 Jan 2020 15:05:24 -0500 Subject: [PATCH] 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} || "") . "'"; + # Ensure that readline/libedit puts out xterm escapes, not something else. $ENV{TERM} = 'xterm';