summaryrefslogtreecommitdiffstats
path: root/tests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests.sh')
-rwxr-xr-xtests.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests.sh b/tests.sh
index f7aaa8c..61e1273 100755
--- a/tests.sh
+++ b/tests.sh
@@ -631,6 +631,8 @@ bfs_tests=(
test_color_or_mi0
test_color_ext
test_color_ext0
+ test_color_ext_override
+ test_color_ext_underride
test_color_missing_colon
test_execdir_plus
@@ -1866,6 +1868,14 @@ function test_color_ext0() {
LS_COLORS="*.txt=00:" bfs_diff rainbow -color
}
+function test_color_ext_override() {
+ LS_COLORS="*.txt=01;31:*t=01;33:" bfs_diff rainbow -color
+}
+
+function test_color_ext_underride() {
+ LS_COLORS="*t=01;33:*.txt=01;31:" bfs_diff rainbow -color
+}
+
function test_color_missing_colon() {
LS_COLORS="*.txt=01" bfs_diff rainbow -color
}