merge unstow_orig.t into unstow.t and fix unstowing logic
There was a ton of duplication which is not maintainable, so refactor everything into a single test which still covers the differences. This in turn revealed some issues in the unstowing logic: - We shouldn't conflict if we find a file which isn't a link or a directory; we can just skip over it. - Unstowing with `--dotfiles` was using the wrong variable to obtain the package path, and as a result having to perform an unnecessary call to `adjust_dotfile()`. So fix those at the same time.
This commit is contained in:
parent
001b287b1b
commit
06fdfc185f
9 changed files with 269 additions and 589 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -10,7 +10,7 @@
|
|||
/doc/stow.info
|
||||
/doc/version.texi
|
||||
/playground/
|
||||
tmp-testing-trees/
|
||||
tmp-testing-trees*/
|
||||
_build/
|
||||
autom4te.cache/
|
||||
blib/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue