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. |
||
|---|---|---|
| .. | ||
| chkstow.t | ||
| cleanup_invalid_links.t | ||
| cli.t | ||
| cli_options.t | ||
| defer.t | ||
| dotfiles.t | ||
| examples.t | ||
| find_stowed_path.t | ||
| foldable.t | ||
| ignore.t | ||
| join_paths.t | ||
| link_dest_within_stow_dir.t | ||
| parent.t | ||
| rc_options.t | ||
| stow.t | ||
| testutil.pm | ||
| unstow.t | ||