summaryrefslogtreecommitdiffstats
path: root/tests.sh
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2019-09-04 21:35:24 -0400
committerTavian Barnes <tavianator@tavianator.com>2019-09-04 21:35:24 -0400
commited6d3933070f7cfbb0607aabe8f9e71ca384791a (patch)
tree7ab24161806269f58e7af2865c27a247e2a226bb /tests.sh
parent1563c3113710463d07f52d6f042a01c56a9ea795 (diff)
downloadbfs-ed6d3933070f7cfbb0607aabe8f9e71ca384791a.tar.xz
color: Actually resolve symlinks against their parent directory
Diffstat (limited to 'tests.sh')
-rwxr-xr-xtests.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests.sh b/tests.sh
index b970547..b95be8b 100755
--- a/tests.sh
+++ b/tests.sh
@@ -2114,6 +2114,7 @@ function test_color_ls() {
ln -s foo/bar/nowhere/nothing scratch/nested
ln -s foo/bar/baz/qux scratch/notdir
ln -s scratch/foo/bar scratch/relative
+ mkdir scratch/__bfs__
ln -s /__bfs__/nowhere scratch/absolute
local EXPECTED="$TESTS/${FUNCNAME[0]}.out"