aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bin/psql/t/010_tab_completion.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bin/psql/t/010_tab_completion.pl b/src/bin/psql/t/010_tab_completion.pl
index ed9e9e12db1..1dc87b504fa 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';