vagrant/test/unit/plugins/provisioners/file
Brian Cain 0a6c4e2d0f
Ensure relative path for file provisioner is relative to machines cwd
Prior to this commit, if you ran Vagrant in a different current working
directory other than where a current guest machines location is, the
file provisioner would not take into account the machines local dir, and
would instead use the path where Vagrant was invoked to expand the
`source` path option for a file provisioner. This commit fixes that by
passing the root path `machine.env.cwd` when expanding the source dir.
2019-10-02 15:33:23 -07:00
..
config_test.rb provisioners/file: validate source relative to Vagrantfile path 2015-07-06 14:22:00 -06:00
provisioner_test.rb Ensure relative path for file provisioner is relative to machines cwd 2019-10-02 15:33:23 -07:00