core: don't test fork(1) on Windows

This commit is contained in:
Mitchell Hashimoto 2014-01-15 11:12:13 -08:00
parent 0fcce91d69
commit aabe5124c4
1 changed files with 3 additions and 1 deletions

View File

@ -34,7 +34,9 @@ describe Vagrant::BatchAction do
called_actions.include?([machine2, "destroy", nil]).should be called_actions.include?([machine2, "destroy", nil]).should be
end end
it "should handle forks gracefully" do it "should handle forks gracefully", :skip_windows do
# Doesn't need to be tested on Windows since Windows doesn't
# support fork(1)
machine.stub(:action) do |action, opts| machine.stub(:action) do |action, opts|
pid = fork pid = fork
if !pid if !pid