diff options
-rwxr-xr-x | tests.sh | 7 | ||||
-rw-r--r-- | tests/test_color.out | 1 | ||||
-rw-r--r-- | tests/test_color_L.out | 17 | ||||
-rw-r--r-- | tests/test_color_ext.out | 1 | ||||
-rw-r--r-- | tests/test_color_ext0.out | 1 | ||||
-rw-r--r-- | tests/test_color_mh.out | 1 | ||||
-rw-r--r-- | tests/test_color_mh0.out | 1 | ||||
-rw-r--r-- | tests/test_color_mi.out | 1 | ||||
-rw-r--r-- | tests/test_color_missing_colon.out | 1 | ||||
-rw-r--r-- | tests/test_color_or.out | 1 | ||||
-rw-r--r-- | tests/test_color_or0_mi.out | 1 | ||||
-rw-r--r-- | tests/test_color_or_mi.out | 1 | ||||
-rw-r--r-- | tests/test_color_or_mi0.out | 1 |
13 files changed, 34 insertions, 1 deletions
@@ -185,7 +185,7 @@ function make_rainbow() { ln "$1/mh1" "$1/mh2" mkfifo "$1/pipe" # TODO: block - # TODO: chardev + ln -s /dev/null "$1/chardev_link" ln -s nowhere "$1/broken" "$TESTS/mksock" "$1/socket" touchp "$1"/s{u,g,ug}id @@ -621,6 +621,7 @@ bfs_tests=( # Primaries test_color + test_color_L test_color_mh test_color_mh0 test_color_or @@ -1819,6 +1820,10 @@ function test_color() { LS_COLORS= bfs_diff rainbow -color } +function test_color_L() { + LS_COLORS= bfs_diff -L rainbow -color +} + function test_color_mh() { LS_COLORS="mh=01:" bfs_diff rainbow -color } diff --git a/tests/test_color.out b/tests/test_color.out index 40e09b4..0acd9f0 100644 --- a/tests/test_color.out +++ b/tests/test_color.out @@ -1,6 +1,7 @@ [01;34mrainbow[0m [01;34mrainbow/[0m[01;32mexec.sh[0m [01;34mrainbow/[0m[01;35msocket[0m +[01;34mrainbow/[0m[01;36mchardev_link[0m [01;34mrainbow/[0m[01;36mlink.txt[0m [01;34mrainbow/[0m[30;42msticky_ow[0m [01;34mrainbow/[0m[30;43msgid[0m diff --git a/tests/test_color_L.out b/tests/test_color_L.out new file mode 100644 index 0000000..9e17614 --- /dev/null +++ b/tests/test_color_L.out @@ -0,0 +1,17 @@ +[01;34mrainbow[0m +[01;34mrainbow/[0m[01;32mexec.sh[0m +[01;34mrainbow/[0m[01;35msocket[0m +[01;34mrainbow/[0m[30;42msticky_ow[0m +[01;34mrainbow/[0m[30;43msgid[0m +[01;34mrainbow/[0m[34;42mow[0m +[01;34mrainbow/[0m[37;41msugid[0m +[01;34mrainbow/[0m[37;41msuid[0m +[01;34mrainbow/[0m[37;44msticky[0m +[01;34mrainbow/[0m[40;31;01mbroken[0m +[01;34mrainbow/[0m[40;33;01mchardev_link[0m +[01;34mrainbow/[0m[40;33mpipe[0m +[01;34mrainbow/[0mfile.dat +[01;34mrainbow/[0mfile.txt +[01;34mrainbow/[0mlink.txt +[01;34mrainbow/[0mmh1 +[01;34mrainbow/[0mmh2 diff --git a/tests/test_color_ext.out b/tests/test_color_ext.out index f8c4d28..c0bfe44 100644 --- a/tests/test_color_ext.out +++ b/tests/test_color_ext.out @@ -1,6 +1,7 @@ [01;34mrainbow[0m [01;34mrainbow/[0m[01;32mexec.sh[0m [01;34mrainbow/[0m[01;35msocket[0m +[01;34mrainbow/[0m[01;36mchardev_link[0m [01;34mrainbow/[0m[01;36mlink.txt[0m [01;34mrainbow/[0m[01mfile.txt[0m [01;34mrainbow/[0m[30;42msticky_ow[0m diff --git a/tests/test_color_ext0.out b/tests/test_color_ext0.out index 8710fc8..aa4c582 100644 --- a/tests/test_color_ext0.out +++ b/tests/test_color_ext0.out @@ -2,6 +2,7 @@ [01;34mrainbow/[0m[00mfile.txt[0m [01;34mrainbow/[0m[01;32mexec.sh[0m [01;34mrainbow/[0m[01;35msocket[0m +[01;34mrainbow/[0m[01;36mchardev_link[0m [01;34mrainbow/[0m[01;36mlink.txt[0m [01;34mrainbow/[0m[30;42msticky_ow[0m [01;34mrainbow/[0m[30;43msgid[0m diff --git a/tests/test_color_mh.out b/tests/test_color_mh.out index 32e2b95..e10ee10 100644 --- a/tests/test_color_mh.out +++ b/tests/test_color_mh.out @@ -1,6 +1,7 @@ [01;34mrainbow[0m [01;34mrainbow/[0m[01;32mexec.sh[0m [01;34mrainbow/[0m[01;35msocket[0m +[01;34mrainbow/[0m[01;36mchardev_link[0m [01;34mrainbow/[0m[01;36mlink.txt[0m [01;34mrainbow/[0m[01mmh1[0m [01;34mrainbow/[0m[01mmh2[0m diff --git a/tests/test_color_mh0.out b/tests/test_color_mh0.out index 40e09b4..0acd9f0 100644 --- a/tests/test_color_mh0.out +++ b/tests/test_color_mh0.out @@ -1,6 +1,7 @@ [01;34mrainbow[0m [01;34mrainbow/[0m[01;32mexec.sh[0m [01;34mrainbow/[0m[01;35msocket[0m +[01;34mrainbow/[0m[01;36mchardev_link[0m [01;34mrainbow/[0m[01;36mlink.txt[0m [01;34mrainbow/[0m[30;42msticky_ow[0m [01;34mrainbow/[0m[30;43msgid[0m diff --git a/tests/test_color_mi.out b/tests/test_color_mi.out index 40e09b4..0acd9f0 100644 --- a/tests/test_color_mi.out +++ b/tests/test_color_mi.out @@ -1,6 +1,7 @@ [01;34mrainbow[0m [01;34mrainbow/[0m[01;32mexec.sh[0m [01;34mrainbow/[0m[01;35msocket[0m +[01;34mrainbow/[0m[01;36mchardev_link[0m [01;34mrainbow/[0m[01;36mlink.txt[0m [01;34mrainbow/[0m[30;42msticky_ow[0m [01;34mrainbow/[0m[30;43msgid[0m diff --git a/tests/test_color_missing_colon.out b/tests/test_color_missing_colon.out index f8c4d28..c0bfe44 100644 --- a/tests/test_color_missing_colon.out +++ b/tests/test_color_missing_colon.out @@ -1,6 +1,7 @@ [01;34mrainbow[0m [01;34mrainbow/[0m[01;32mexec.sh[0m [01;34mrainbow/[0m[01;35msocket[0m +[01;34mrainbow/[0m[01;36mchardev_link[0m [01;34mrainbow/[0m[01;36mlink.txt[0m [01;34mrainbow/[0m[01mfile.txt[0m [01;34mrainbow/[0m[30;42msticky_ow[0m diff --git a/tests/test_color_or.out b/tests/test_color_or.out index e132546..5103be1 100644 --- a/tests/test_color_or.out +++ b/tests/test_color_or.out @@ -1,6 +1,7 @@ [01;34mrainbow[0m [01;34mrainbow/[0m[01;32mexec.sh[0m [01;34mrainbow/[0m[01;35msocket[0m +[01;34mrainbow/[0m[01;36mchardev_link[0m [01;34mrainbow/[0m[01;36mlink.txt[0m [01;34mrainbow/[0m[01mbroken[0m [01;34mrainbow/[0m[30;42msticky_ow[0m diff --git a/tests/test_color_or0_mi.out b/tests/test_color_or0_mi.out index 8b92ded..37b54c5 100644 --- a/tests/test_color_or0_mi.out +++ b/tests/test_color_or0_mi.out @@ -2,6 +2,7 @@ [01;34mrainbow/[0m[01;32mexec.sh[0m [01;34mrainbow/[0m[01;35msocket[0m [01;34mrainbow/[0m[01;36mbroken[0m +[01;34mrainbow/[0m[01;36mchardev_link[0m [01;34mrainbow/[0m[01;36mlink.txt[0m [01;34mrainbow/[0m[30;42msticky_ow[0m [01;34mrainbow/[0m[30;43msgid[0m diff --git a/tests/test_color_or_mi.out b/tests/test_color_or_mi.out index 8a095a8..6727548 100644 --- a/tests/test_color_or_mi.out +++ b/tests/test_color_or_mi.out @@ -2,6 +2,7 @@ [01;34mrainbow/[0m[01;31mbroken[0m [01;34mrainbow/[0m[01;32mexec.sh[0m [01;34mrainbow/[0m[01;35msocket[0m +[01;34mrainbow/[0m[01;36mchardev_link[0m [01;34mrainbow/[0m[01;36mlink.txt[0m [01;34mrainbow/[0m[30;42msticky_ow[0m [01;34mrainbow/[0m[30;43msgid[0m diff --git a/tests/test_color_or_mi0.out b/tests/test_color_or_mi0.out index 8a095a8..6727548 100644 --- a/tests/test_color_or_mi0.out +++ b/tests/test_color_or_mi0.out @@ -2,6 +2,7 @@ [01;34mrainbow/[0m[01;31mbroken[0m [01;34mrainbow/[0m[01;32mexec.sh[0m [01;34mrainbow/[0m[01;35msocket[0m +[01;34mrainbow/[0m[01;36mchardev_link[0m [01;34mrainbow/[0m[01;36mlink.txt[0m [01;34mrainbow/[0m[30;42msticky_ow[0m [01;34mrainbow/[0m[30;43msgid[0m |