diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2019-02-18 23:27:17 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2019-02-18 23:27:17 -0500 |
commit | 21d92d3a1285d32e33d4d43894fd8139dfabca8e (patch) | |
tree | c9b2db9bf8fff1e49f143e38452b1fdf91fffdbf /tests.sh | |
parent | fc8345f1e1f1739b7fea2d521fb723aff817fa0b (diff) | |
download | bfs-21d92d3a1285d32e33d4d43894fd8139dfabca8e.tar.xz |
tests: Add a test for symlink coloring to a device
Diffstat (limited to 'tests.sh')
-rwxr-xr-x | tests.sh | 7 |
1 files changed, 6 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 } |