Commit graph

71 commits

Author SHA1 Message Date
Adam Spiers
7bef0fb700 Clean up coding style in tests 2011-11-26 15:10:28 +00:00
Adam Spiers
2244539b6b Test stow/unstow with stow dir / target dir as absolute paths. 2011-11-26 15:10:28 +00:00
Adam Spiers
dc61da22d4 Major refactoring of code into separate Stow and Stow::Util Perl modules 2011-11-24 16:56:11 +00:00
Adam Spiers
fbe547c132 Test unstowing when target contains a real file generates a conflict. 2011-11-24 16:55:55 +00:00
Adam Spiers
6e7ed071c1 Test unstowing stuff which doesn't exist in the target tree. 2011-11-24 16:55:55 +00:00
Adam Spiers
a1246072dd Remove setting of verbosity from tests 2011-11-24 16:55:55 +00:00
Adam Spiers
80826b96e2 Add protection against stowing into stow dirs 2011-11-24 16:55:55 +00:00
Adam Spiers
9012dd8aa8 Test unstowing an already unstowed package 2011-11-24 16:55:54 +00:00
Adam Spiers
28dbad2933 Sync t/unstow_contents{,_orig}.t 2011-11-24 16:55:54 +00:00
Adam Spiers
c26236d93c Debug with maximum verbosity to STDOUT when running tests. 2011-11-24 16:55:54 +00:00
Adam Spiers
497f272c12 Refactored reset_state() into t/util.pm 2011-11-24 16:55:54 +00:00
Adam Spiers
1d3f45580b Don't tolerate '' as value for $target parameter to (un)stow_contents 2011-11-24 16:55:54 +00:00
Adam Spiers
85f1f8619c Fix inconsistencies in coding style. 2011-11-24 16:55:53 +00:00
Adam Spiers
801446a5eb Use File::Spec->abs2rel() instead of home-grown relative_path
which actually gets some inputs wrong (e.g. "/" relative to "/")
2011-11-24 16:55:53 +00:00
Adam Spiers
d674d13a68 Fix typos 2011-11-24 16:55:52 +00:00
Adam Spiers
8de15394bb Catch warnings in tests when no outstanding operations to perform.
Tests now all pass completely cleanly.
2011-11-24 16:55:52 +00:00
Adam Spiers
d74ae26f89 Fix %Options typo in several tests 2011-11-24 16:55:52 +00:00
Adam Spiers
4296500c94 Fix t/stow.t 2011-11-24 16:55:52 +00:00
Adam Spiers
8da2a43eb1 Fix chkstow.t 2011-11-24 16:55:52 +00:00
Adam Spiers
5fe30e9f1a Add #! header to t/util.pm for benefit of editor mode selection 2011-11-24 16:55:52 +00:00
Adam Spiers
0473d3f8ba Grafted root commit from savannah git master:
38dcdcb08c Initial Import
2011-11-16 14:04:03 +00:00