stow/t
Adam Spiers 7b43622dd9 fix stowing of relative links when --no-folding is used
With a tree like this:

    .
    |-- stow
    |   `-- pkg
    |       `-- lib
    |           |-- itk-current -> itk4.0.0
    |           `-- itk4.0.0
    |               `-- libitk4.0.0.so
    `-- target
        `-- lib
            |-- itk4.0.0 -> ../../stow/pkg/lib/itk4.0.0
            `-- libfoo-1.2.3.so

stowing pkg with the --no-folding option resulted in itk-current
being "unpacked":

    .
    `-- target
        `-- lib
            |-- itk-current
            |   `-- libitk4.0.0.so -> ../../../stow/pkg/lib/itk-current/libitk4.0.0.so
            |-- itk4.0.0
            |   `-- libitk4.0.0.so -> ../../../stow/pkg/lib/itk4.0.0/libitk4.0.0.so
            `-- libfoo-1.2.3.so

This commit fixes it so that it gets stowed as a symlink:

  .
  `-- target
      `-- lib
          ...
          |-- itk-current -> ../../stow/pkg/lib/itk-current
          ...

Thanks to Gabriele Balducci for reporting this problem:

    http://thread.gmane.org/gmane.comp.gnu.stow.general/6676
2015-01-01 19:02:46 +00:00
..
chkstow.t Use make_invalid_link() to reliably setup symlink fixtures. 2012-02-18 20:33:34 +00:00
cleanup_invalid_links.t Use make_invalid_link() to reliably setup symlink fixtures. 2012-02-18 20:33:34 +00:00
cli_options.t Rename stow.t to be more consistent with its purpose. 2012-01-09 22:12:49 +00:00
defer.t Numerous fixes so that `make distcheck' succeeds. 2011-11-26 16:34:57 +00:00
examples.t Remove accidentally duplicated code. 2012-02-19 19:16:00 +00:00
find_stowed_path.t Numerous fixes so that `make distcheck' succeeds. 2011-11-26 16:34:57 +00:00
foldable.t Numerous fixes so that `make distcheck' succeeds. 2011-11-26 16:34:57 +00:00
ignore.t Add another ignore example to the manual and test suite. 2011-12-21 11:45:43 +00:00
join_paths.t Add another test to join_paths.t 2011-11-26 15:10:28 +00:00
parent.t Clean up coding style in tests 2011-11-26 15:10:28 +00:00
stow.t fix stowing of relative links when --no-folding is used 2015-01-01 19:02:46 +00:00
testutil.pm make it more obvious when target (sub)directory is skipped 2014-09-23 01:37:54 +01:00
unstow.t make it more obvious when target (sub)directory is skipped 2014-09-23 01:37:54 +01:00
unstow_orig.t make it more obvious when target (sub)directory is skipped 2014-09-23 01:37:54 +01:00