diff options
Diffstat (limited to 'vagrant')
-rw-r--r-- | vagrant/bionic64/Vagrantfile (renamed from vagrant/precise64/Vagrantfile) | 6 | ||||
-rw-r--r-- | vagrant/centos6/Vagrantfile | 3 | ||||
-rwxr-xr-x | vagrant/test.rb | 2 |
3 files changed, 6 insertions, 5 deletions
diff --git a/vagrant/precise64/Vagrantfile b/vagrant/bionic64/Vagrantfile index 22acd58..aab9518 100644 --- a/vagrant/precise64/Vagrantfile +++ b/vagrant/bionic64/Vagrantfile @@ -2,7 +2,7 @@ # vi: set ft=ruby : Vagrant.configure("2") do |config| - config.vm.box = "ubuntu/precise64" + config.vm.box = "ubuntu/bionic64" config.vm.synced_folder ".", "/vagrant", disabled: true config.vm.synced_folder "../../", "/bindfs", @@ -12,12 +12,12 @@ Vagrant.configure("2") do |config| rsync__args: ["-av", "--delete-after"] config.vm.provider "virtualbox" do |v| - v.name = "bindfs-precise64" + v.name = "bindfs-bionic64" end config.vm.provision "shell", inline: <<-SHELL apt-get update - apt-get install -y fuse libfuse-dev build-essential pkg-config ruby1.9.3 valgrind + apt-get install -y fuse libfuse-dev build-essential pkg-config ruby valgrind apt-get clean adduser vagrant fuse echo user_allow_other > /etc/fuse.conf diff --git a/vagrant/centos6/Vagrantfile b/vagrant/centos6/Vagrantfile index 7ad975e..ae291fe 100644 --- a/vagrant/centos6/Vagrantfile +++ b/vagrant/centos6/Vagrantfile @@ -15,8 +15,9 @@ Vagrant.configure("2") do |config| v.name = "bindfs-centos6" end + # Don't install valgrind here since it appears to be broken (2019-04-28) config.vm.provision "shell", inline: <<-SHELL - yum install -y fuse fuse-devel gcc make pkg-config ruby valgrind + yum install -y fuse fuse-devel gcc make pkg-config ruby usermod -G fuse -a vagrant echo user_allow_other > /etc/fuse.conf SHELL diff --git a/vagrant/test.rb b/vagrant/test.rb index b8489b6..f6d068f 100755 --- a/vagrant/test.rb +++ b/vagrant/test.rb @@ -82,7 +82,7 @@ threads = dirs.map do |dir| unless run_and_log.call "vagrant rsync" raise "vagrant rsync failed" end - unless run_and_log.call "vagrant ssh -c 'cd /bindfs && sudo rm -Rf tests/tmp_test_bindfs && ./configure && make clean && make && make check && sudo make check'" + unless run_and_log.call "vagrant ssh -c 'cd /bindfs && sudo rm -Rf tests/tmp_test_bindfs && ./configure && make distclean && ./configure && make && make check && sudo make check'" mutex.synchronize do errors << "VM #{dir} tests failed." end |