mirror of
1
0
Fork 0
dotbot/test/tests
Anish Athalye 191559601a Fix linking when using both relink and relative
Prior to this patch, the following config led to incorrect behavior:

    - link:
        ~/.folder/file:
          path: file
          create: true
          relative: true
          relink: true

Prior to the change, running the config the first time would result in
expected behavior. However, running the config for the second time would
result in deletion and re-creation of the link (even when the link is
correct).

This patch improves the interaction of relink and relative, taking
relative paths into account when checking the validity of existing links
in the `_delete()` method.
2016-04-07 14:45:46 -04:00
..
clean-missing.bash Add testing framework and tests 2015-05-05 20:11:46 -04:00
clean-nonexistent.bash Add testing framework and tests 2015-05-05 20:11:46 -04:00
clean-outside.bash Add testing framework and tests 2015-05-05 20:11:46 -04:00
config-blank.bash Add testing framework and tests 2015-05-05 20:11:46 -04:00
config-empty.bash Add testing framework and tests 2015-05-05 20:11:46 -04:00
config-json-tabs.bash Use standard library JSON parser for JSON files 2016-01-13 11:29:12 -05:00
config-json.bash Use standard library JSON parser for JSON files 2016-01-13 11:29:12 -05:00
defaults.bash Add default options 2016-03-03 09:42:50 -05:00
link-environment-variable-expansion-source.bash Add environment variable expansion in link paths 2015-05-12 20:28:58 -04:00
link-environment-variable-expansion-target.bash Add environment variable expansion in link paths 2015-05-12 20:28:58 -04:00
link-environment-variable-unset.bash Add environment variable expansion in link paths 2015-05-12 20:28:58 -04:00
link-force-overwrite-symlink.bash Add testing framework and tests 2015-05-05 20:11:46 -04:00
link-leaves-file.bash Add testing framework and tests 2015-05-05 20:11:46 -04:00
link-relative.bash Add functionality to create relative links 2016-02-14 23:06:52 -05:00
link-relink-leaves-file.bash Add testing framework and tests 2015-05-05 20:11:46 -04:00
link-relink-overwrite-symlink.bash Add testing framework and tests 2015-05-05 20:11:46 -04:00
link-relink-relative-leaves-file.bash Fix linking when using both relink and relative 2016-04-07 14:45:46 -04:00
plugin-dir.bash Add documentation and tests for plugins 2016-02-06 15:23:39 -05:00
plugin.bash Add documentation and tests for plugins 2016-02-06 15:23:39 -05:00
shell-allow-stdout.bash Add testing framework and tests 2015-05-05 20:11:46 -04:00
shell-disables-stdout.bash Add testing framework and tests 2015-05-05 20:11:46 -04:00