537c1bedcf
This was incorrectly removing the _source_ entry prior to creating the symlink, therefore ending up with a dangling symlink and no source file. This wasn't obvious before because the test case for LinkFromOtherCache was also incorrectly named and therefore wasn't running. Fixing the name of that test made this problem apparent. The TestLinkFromOtherCache test case now ends up seeing the final resolved directory rather than the symlink target, because of upstream changes to the internal/getproviders filesystem scanning logic to handle symlinks properly. |
||
---|---|---|
.. | ||
testdata/cachedir | ||
cached_provider.go | ||
dir.go | ||
dir_modify.go | ||
dir_modify_test.go | ||
dir_test.go | ||
doc.go | ||
installer.go | ||
installer_events.go | ||
package_install.go |