mkdir foo
echo 'test' > foo/index.html
mkdir bar
cd bar
ln -s ../foo foo
cd ..
./htmltest bar
Windows (in an elevated command prompt for mklink):
md foo
echo test > foo\index.html
md bar
cd bar
mklink /d foo ..\foo
cd ..
htmltest.exe bar
Expected behavior
htmltest should follow the symlink and test the files in foo as well. This behavior could be made optional with a configuration option to follow symlinks.
Actual behavior
htmltest ignores the symlink and bar/foo/index.html is not tested.
Describe the bug
If there is a symlinked folder in the directory path, its contained files are not checked. htmltest reports
tested 0 documents
.To Reproduce
Test setup tree:
Linux:
Windows (in an elevated command prompt for mklink):
Expected behavior
htmltest should follow the symlink and test the files in
foo
as well. This behavior could be made optional with a configuration option to follow symlinks.Actual behavior
htmltest ignores the symlink and
bar/foo/index.html
is not tested.Versions