summaryrefslogtreecommitdiffstats
path: root/tests/bfs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bfs')
-rw-r--r--tests/bfs/color_ext_case.out2
-rw-r--r--tests/bfs/color_ext_case.sh7
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 @@
rainbow/sgid
rainbow/pipe
rainbow/ow
+rainbow/file.txt
rainbow/sugid
rainbow/suid
rainbow/sticky
rainbow/file.dat
-rainbow/file.txt
rainbow/mh1
rainbow/mh2
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