diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2023-06-30 10:25:42 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2023-06-30 10:25:42 -0400 |
commit | 2ea6a1d7b99dbb389ec81054d136e5030717d52a (patch) | |
tree | 7109848fa4c720608574a40f3523727d1751ec84 /tests | |
parent | 27dc7a126d6c00b7a41e0559254928555200ee42 (diff) | |
download | bfs-2ea6a1d7b99dbb389ec81054d136e5030717d52a.tar.xz |
color: Compare values too when deciding to smart-case
Diffstat (limited to 'tests')
-rw-r--r-- | tests/bfs/color_ext_case.out | 2 | ||||
-rw-r--r-- | tests/bfs/color_ext_case.sh | 7 |
2 files changed, 7 insertions, 2 deletions
diff --git a/tests/bfs/color_ext_case.out b/tests/bfs/color_ext_case.out index c3ded3a..4e7258d 100644 --- a/tests/bfs/color_ext_case.out +++ b/tests/bfs/color_ext_case.out @@ -16,10 +16,10 @@ [01;34mrainbow/[0m[30;43msgid[0m [01;34mrainbow/[0m[33mpipe[0m [01;34mrainbow/[0m[34;42mow[0m +[01;34mrainbow/[0m[36mfile.txt[0m [01;34mrainbow/[0m[37;41msugid[0m [01;34mrainbow/[0m[37;41msuid[0m [01;34mrainbow/[0m[37;44msticky[0m [01;34mrainbow/[0mfile.dat -[01;34mrainbow/[0mfile.txt [01;34mrainbow/[0mmh1 [01;34mrainbow/[0mmh2 diff --git a/tests/bfs/color_ext_case.sh b/tests/bfs/color_ext_case.sh index 91f1f59..4adba69 100644 --- a/tests/bfs/color_ext_case.sh +++ b/tests/bfs/color_ext_case.sh @@ -1 +1,6 @@ -LS_COLORS="*.gz=01;31:*.GZ=01;32:*.tAr=01;33:*.TAR.gz=01;34:*.tar.GZ=01;35:" bfs_diff rainbow -color +# *.gz=01;31:*.GZ=01;32 -- case sensitive +# *.tAr=01;33:*.TaR=01;33 -- case-insensitive +# *.TAR.gz=01;34:*.tar.GZ=01;35 -- case-sensitive +# *.txt=35:*TXT=36 -- case-insensitive +export LS_COLORS="*.gz=01;31:*.GZ=01;32:*.tAr=01;33:*.TaR=01;33:*.TAR.gz=01;34:*.tar.GZ=01;35:*.txt=35:*TXT=36" +bfs_diff rainbow -color |