mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2025-08-07 07:22:55 +03:00
tests: dircolors.pl: avoid false failure with TERM=dumb
* tests/Coreutils.pm: Ensure an unset $TERM env var, which is required on perl 5.22.2 on Solaris 11 OpenIndiana at least, where TERM was being reset to 'dumb'. Reported By Bruno Haible.
This commit is contained in:
@@ -42,6 +42,11 @@ my $Global_count = 1;
|
||||
defined $ENV{DJDIR}
|
||||
and $ENV{SHELL} = "$ENV{DJDIR}/bin/bash.exe";
|
||||
|
||||
# Perl 5.22.2 was seen to default to TERM=dumb on Solaris 11 OpenIndiana
|
||||
# So ensure this variable is unset.
|
||||
defined $ENV{TERM}
|
||||
and delete $ENV{TERM};
|
||||
|
||||
# A file spec: a scalar or a reference to a single-keyed hash
|
||||
# ================
|
||||
# 'contents' contents only (file name is derived from test name)
|
||||
|
Reference in New Issue
Block a user