From 21d92d3a1285d32e33d4d43894fd8139dfabca8e Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Mon, 18 Feb 2019 23:27:17 -0500 Subject: tests: Add a test for symlink coloring to a device --- tests.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'tests.sh') diff --git a/tests.sh b/tests.sh index 926bf6f..189d324 100755 --- a/tests.sh +++ b/tests.sh @@ -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 } -- cgit v1.2.3