tests: make ls tests independent of COLORTERM env
commit14613e2fd132a1e252849cd881706bca8428f9f9
authorPádraig Brady <P@draigBrady.com>
Fri, 18 Apr 2014 10:19:10 +0000 (18 11:19 +0100)
committerPádraig Brady <P@draigBrady.com>
Fri, 18 Apr 2014 10:23:37 +0000 (18 11:23 +0100)
treef4942a5ae28a8d7f74ecae6b09b605c288a4e0f8
parentf6bcfef3d20c593bb4108d4b34c6873081930e00
tests: make ls tests independent of COLORTERM env

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
tests/envvar-check
tests/ls/color-dtype-dir.sh
tests/misc/ls-misc.pl