diff options
author | Pádraig Brady <P@draigBrady.com> | 2014-04-18 11:19:10 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2014-04-18 11:23:37 +0100 |
commit | 14613e2fd132a1e252849cd881706bca8428f9f9 (patch) | |
tree | f4942a5ae28a8d7f74ecae6b09b605c288a4e0f8 /tests/ls/color-dtype-dir.sh | |
parent | f6bcfef3d20c593bb4108d4b34c6873081930e00 (diff) | |
download | coreutils-14613e2fd132a1e252849cd881706bca8428f9f9.tar.xz |
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
Diffstat (limited to 'tests/ls/color-dtype-dir.sh')
-rwxr-xr-x | tests/ls/color-dtype-dir.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ls/color-dtype-dir.sh b/tests/ls/color-dtype-dir.sh index 88dd781ff..559a18849 100755 --- a/tests/ls/color-dtype-dir.sh +++ b/tests/ls/color-dtype-dir.sh @@ -30,7 +30,7 @@ chmod o+w other-writable || framework_failure_ 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 |