From 08030aea919039165c02805e8c637a9ec1ad0d70 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Tue, 2 Jul 2024 15:29:16 -0400 Subject: color: Delay the case_sensitive decision --- tests/bfs/color_ext_case_flipflop.out | 27 +++++++++++++++++++++++++++ tests/bfs/color_ext_case_flipflop.sh | 1 + 2 files changed, 28 insertions(+) create mode 100644 tests/bfs/color_ext_case_flipflop.out create mode 100644 tests/bfs/color_ext_case_flipflop.sh (limited to 'tests') diff --git a/tests/bfs/color_ext_case_flipflop.out b/tests/bfs/color_ext_case_flipflop.out new file mode 100644 index 0000000..f4cc53c --- /dev/null +++ b/tests/bfs/color_ext_case_flipflop.out @@ -0,0 +1,27 @@ +$'rainbow/\e[1m' +$'rainbow/\e[1m/'$'\e[0m' +rainbow +rainbow/exec.sh +rainbow/lower.tar.gz +rainbow/lu.tar.GZ +rainbow/ul.TAR.gz +rainbow/upper.TAR.GZ +rainbow/socket +rainbow/broken +rainbow/chardev_link +rainbow/link.txt +rainbow/sticky_ow +rainbow/sgid +rainbow/pipe +rainbow/ow +rainbow/sugid +rainbow/suid +rainbow/sticky +rainbow/file.dat +rainbow/file.txt +rainbow/lower.gz +rainbow/lower.tar +rainbow/mh1 +rainbow/mh2 +rainbow/upper.GZ +rainbow/upper.TAR diff --git a/tests/bfs/color_ext_case_flipflop.sh b/tests/bfs/color_ext_case_flipflop.sh new file mode 100644 index 0000000..4d6f615 --- /dev/null +++ b/tests/bfs/color_ext_case_flipflop.sh @@ -0,0 +1 @@ +LS_COLORS="*.tar.gz=01;31:*.TAR.GZ=01;32:*.TAR.GZ=01;33:*.tar.gz=01;33:" bfs_diff rainbow -color -- cgit v1.2.3