lib/sailfish_tools/vm_manager.rb
# Check that corresponding VM is listed as installed VM
Check that corresponding VM is listed as installed VM
Check that corresponding VM is listed as installed VM
def check_vm_for_existence(name)
    vms = `VBoxManage list vms`
    unless vms.include?(name)
      raise TestRunner::VMNotFoundError.new, "Machine '#{name}' is not installed"
    end
  end
def check_vm_for_existence ( name ) vms = ` VBoxManage list vms ` unless vms . include? ( name ) raise TestRunner :: VMNotFoundError . new , "Machine '#{name}' is not installed" end end
Check that corresponding VM is listed as installed VM
Check that corresponding VM is listed as installed VM
name
<not_specific>