saw inappropriately expands symbolic links #2082
Labels
tooling: test infrastructure
Issues involving test infrastructure or test execution, or making SAW more testable
topics: error-messages
Issues involving the messages SAW produces on error
type: bug
Issues reporting bugs or unexpected/unwanted behavior
usability
An issue that impedes efficient understanding and use
Well and good. But now,
Notice that it has expanded the symbolic link
other.saw
and this causes it to report errors with the name of the link target rather than the filename I gave it. Experimentation shows that if the path toother.saw
includes symbolic links to directories, it expands those as well.This is generally not what you want -- in almost all cases you want tools to use and report the filenames you give them and not try to reinterpret them. Doing so can in some cases lead to confusion (particularly, but not only, if there are automounters involved) and it can also create testing and debugging headaches. (For example: if you check out and build two different versions of saw in different trees, now you can't compare the output from test runs.)
The text was updated successfully, but these errors were encountered: