summaryrefslogtreecommitdiffstats
path: root/tests/bfs/color_bsd_fail.sh
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2025-07-03 13:40:43 -0400
committerTavian Barnes <tavianator@tavianator.com>2025-07-04 08:22:35 -0400
commitefb983406cba85a92573f50cfc94c455422e7d3a (patch)
tree6aec438eee7b463f0f84db59b9d38cdc18af308e /tests/bfs/color_bsd_fail.sh
parent2598b0d3e62d8b689937444ace194dcc51c34d12 (diff)
downloadbfs-main.tar.xz
color: Match the BSD $LSCOLORS behaviour more closelyHEADmain
BSD/macOS ls(1) don't reject overlong or odd-length $LSCOLORS values (although they can warn, which we don't). They also don't use the "intense" background colors for capital letters; instead, that enables underline on FreeBSD, or (foreground) bold on macOS. We copy FreeBSD here.
Diffstat (limited to 'tests/bfs/color_bsd_fail.sh')
-rw-r--r--tests/bfs/color_bsd_fail.sh2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/bfs/color_bsd_fail.sh b/tests/bfs/color_bsd_fail.sh
deleted file mode 100644
index 541190c..0000000
--- a/tests/bfs/color_bsd_fail.sh
+++ /dev/null
@@ -1,2 +0,0 @@
-# LSCOLORS can be at most 24 characters long (12 color pairs); this one has 25.
-! LSCOLORS="exfxcxdxbxegedabagacadeahB" invoke_bfs rainbow -color