Since the recent commit
v8.22-68-g08783f1, ls coloring
is now dependent on the COLORTERM environment variable.
* tests/envvar-check: Unset COLORTERM from test environment.
* tests/ls/color-dtype-dir.sh: Ensure coloring is used.
* tests/misc/ls-misc.pl: Likewise.
Prompted by the continuous integration build failure at:
http://hydra.nixos.org/build/
10397646
SIMPLE_BACKUP_SUFFIX
TABSIZE
TERM
+ COLORTERM
TIME_STYLE
TMPDIR
VERSION_CONTROL
chmod o+t sticky || framework_failure_
-ls --color=always > out || fail=1
+TERM=xterm ls --color=always > out || fail=1
cat -A out > o1 || fail=1
mv o1 out || fail=1
. "\e[37;44msticky$e\n"
},
+ {PRE => sub {
+ push_ls_colors('ow=34;42:tw=30;42:sg=30;43:su=37;41:st=37;44'); }},
{POST => sub {
unlink qw(setuid setgid);
- foreach my $dir (qw(owr owt sticky)) {rmdir $dir} }},
+ foreach my $dir (qw(owr owt sticky)) {rmdir $dir}
+ restore_ls_colors; }},
],
# For 5.97 and earlier, --file-type acted like --indicator-style=slash.