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';