summaryrefslogtreecommitdiff
path: root/tests/dircolors
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-10-25 12:00:51 +0000
committerJim Meyering <jim@meyering.net>2005-10-25 12:00:51 +0000
commit7a3af1eb393f8abc062213f0fd85ed3f8a18fad7 (patch)
tree030beb335fcbd1bce501356b9cd8c8de339d05d9 /tests/dircolors
parent91795f6fa29eac96e3a18d1c2198c66f3fca364a (diff)
downloadcoreutils-7a3af1eb393f8abc062213f0fd85ed3f8a18fad7.tar.xz
(other-wr): Add an explicit test for
the dircolors bug (NULL-dereference) fixed yesterday.
Diffstat (limited to 'tests/dircolors')
-rwxr-xr-xtests/dircolors/simple2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/dircolors/simple b/tests/dircolors/simple
index 739c751b5..b8504d5ff 100755
--- a/tests/dircolors/simple
+++ b/tests/dircolors/simple
@@ -26,6 +26,8 @@ my @Tests =
['quote', {IN => "exec 'echo Hello;:'\n"},
{OUT => "LS_COLORS='ex='\\''echo Hello;\\:'\\'':';\n"
. "export LS_COLORS\n"}],
+ ['other-wr', {IN => "owt 40;33\n"},
+ {OUT => "LS_COLORS='tw=40;33:';\nexport LS_COLORS\n"}],
);
my $save_temps = $ENV{DEBUG};