Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documents in symlinked folder not tested #167

Open
Simran-B opened this issue May 7, 2021 · 0 comments
Open

Documents in symlinked folder not tested #167

Simran-B opened this issue May 7, 2021 · 0 comments
Labels

Comments

@Simran-B
Copy link

Simran-B commented May 7, 2021

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:

.
|-- bar
|   `-- foo -> ../foo
|-- foo
|   `-- index.html
`-- htmltest

Linux:

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.

Versions

  • OS: Ubuntu 18.04, Windows 10
  • htmltest: 0.14.0
@Simran-B Simran-B added the bug label May 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant