Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
In tab-completion test, print out the value of TERM before changing it.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 4 Jan 2020 20:05:24 +0000 (15:05 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 4 Jan 2020 20:05:55 +0000 (15:05 -0500)
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

index ed9e9e12db137a3090db09eb48966c4489de0169..1dc87b504fab7169ed2d35b4df0fa5149a7a8f21 100644 (file)
@@ -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';