From 65ce1bd6414fb5bc454050d2009a398731fe863b Mon Sep 17 00:00:00 2001 From: Collin Funk Date: Mon, 8 Jun 2026 21:13:03 -0700 Subject: [PATCH] tests: dircolors: add another test case for TERM * tests/misc/dircolors.pl (@Tests): Add a test case. --- tests/misc/dircolors.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/misc/dircolors.pl b/tests/misc/dircolors.pl index faa8402b3..404fbb075 100755 --- a/tests/misc/dircolors.pl +++ b/tests/misc/dircolors.pl @@ -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"},