mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-05-28 04:36:05 -04:00
Add rsync helper test for linux machines
This commit is contained in:
parent
7517faa9ee
commit
45ca16ffd5
1 changed files with 1 additions and 4 deletions
|
|
@ -292,11 +292,8 @@ describe VagrantPlugins::SyncedFolderRSync::RsyncHelper do
|
|||
expect(args[9]).to include("ControlPath=/tmp/vagrant-rsync-12345")
|
||||
}.and_return(result)
|
||||
|
||||
expect(FileUtils).to receive(:remove_entry_secure).with("/tmp/vagrant-rsync-12345").and_return(true)
|
||||
subject.rsync_single(machine, ssh_info, opts)
|
||||
|
||||
unless Vagrant::Util::Platform.windows?
|
||||
expect(File.exist?("/tmp/vagrant-rsync-12345")).to be_falsey
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue