]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
tests: dircolors: add another test case for TERM
authorCollin Funk <collin.funk1@gmail.com>
Tue, 9 Jun 2026 04:13:03 +0000 (21:13 -0700)
committerCollin Funk <collin.funk1@gmail.com>
Tue, 9 Jun 2026 04:18:57 +0000 (21:18 -0700)
* tests/misc/dircolors.pl (@Tests): Add a test case.

tests/misc/dircolors.pl

index faa8402b31c7bb9711c3abbc1c78f920dec81018..404fbb075608c91f6d355838951917de3cbedb61 100755 (executable)
@@ -41,6 +41,8 @@ my @Tests =
       {OUT => "LS_COLORS='';\nexport LS_COLORS\n"}],
      ['term-4', '-b', {IN => "TERM N*match\nowt 40;33\n"},
       {OUT => "LS_COLORS='';\nexport LS_COLORS\n"}],
+     ['term-5', '-b', {IN => "TERM []\nowt 40;33\n"},
+      {OUT => "LS_COLORS='';\nexport LS_COLORS\n"}],
 
      ['colorterm-1', '-b', {ENV => 'COLORTERM=any'},
       {IN => "COLORTERM ?*\nowt 40;33\n"},