diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2020-01-04 15:05:24 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2020-01-04 15:05:55 -0500 |
commit | 60ab7c80b4de2c3591e50dfb5ed0fd4002f0f2f2 (patch) | |
tree | df5becad52bb7b070e73ff3bfe33e3742b29990f | |
parent | 5b630501e9fa58c5069b36247d63fc460d912c7f (diff) | |
download | postgresql-60ab7c80b4de2c3591e50dfb5ed0fd4002f0f2f2.tar.gz postgresql-60ab7c80b4de2c3591e50dfb5ed0fd4002f0f2f2.zip |
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
-rw-r--r-- | src/bin/psql/t/010_tab_completion.pl | 3 |
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'; |