contrib/vagrant/Vagrantfile
author Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Wed, 13 Jun 2018 10:37:39 -0400
branchstable
changeset 38301 d9e87566f879
parent 26140 a31ffc445f02
child 43509 7fd16ddabaa0
permissions -rw-r--r--
cext: stop worrying and love the free(NULL) There is no need to check for a NULL pointer before calling free since free(NULL) is defined by C standards as a no-op. Lots of software relies on this behavior so it is completely safe to call even on the most obscure of systems.

# -*- mode: ruby -*-

Vagrant.configure('2') do |config|
  # Debian 8.1 x86_64 without configuration management software
  config.vm.box = "debian/jessie64"
  config.vm.hostname = "tests"

  config.vm.define "tests" do |conf|
    conf.vm.provision :file, source: "run-tests.sh", destination:"run-tests.sh"
    conf.vm.provision :shell, path: "provision.sh"
    conf.vm.synced_folder "../..", "/hgshared"
  end
end