stow/t
Adam Spiers 06fdfc185f 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.
2024-04-07 15:47:38 +01:00
..
chkstow.t Replace testutil::make_dir with File::Path::make_path 2019-06-28 01:02:48 +01:00
cleanup_invalid_links.t cleanup_invalid_links: add test for non-cleanup of an unowned link 2024-03-31 12:24:02 +01:00
cli.t cli.t: test with the right Perl executable 2019-07-15 16:12:26 -04:00
cli_options.t Replace testutil::make_dir with File::Path::make_path 2019-06-28 01:02:48 +01:00
defer.t Rename $OUT_DIR to $TEST_DIR 2019-06-28 00:53:12 +01:00
dotfiles.t merge unstow_orig.t into unstow.t and fix unstowing logic 2024-04-07 15:47:38 +01:00
examples.t Replace testutil::make_dir with File::Path::make_path 2019-06-28 01:02:48 +01:00
find_stowed_path.t Eliminate erroneous warning when unstowing (#65) 2024-03-31 14:03:47 +01:00
foldable.t Replace testutil::make_dir with File::Path::make_path 2019-06-28 01:02:48 +01:00
ignore.t Replace testutil::make_dir with File::Path::make_path 2019-06-28 01:02:48 +01:00
join_paths.t Make join_paths correctly handle absolute paths 2024-03-31 12:02:58 +01:00
link_dest_within_stow_dir.t Eliminate erroneous warning when unstowing (#65) 2024-03-31 14:03:47 +01:00
parent.t Change #!/usr/local/bin/perl to #!/usr/bin/perl in t/*.t 2019-06-27 20:37:50 +01:00
rc_options.t Remove dependencies on Hash::Merge and Clone::Choose 2019-06-29 13:42:19 +01:00
stow.t tests: use stderr_like() instead of home-grown STDERR capturing 2024-04-06 11:33:18 +01:00
testutil.pm merge unstow_orig.t into unstow.t and fix unstowing logic 2024-04-07 15:47:38 +01:00
unstow.t merge unstow_orig.t into unstow.t and fix unstowing logic 2024-04-07 15:47:38 +01:00