# -*- mode: ruby -*- # vi: set ft=ruby : # Vagrant configuration file which creates a virtual machine that can run the # test suite using fedora-test-runner.sh, in an environment similar to the one # used for automated continuous integration tests (GitHub Actions) # # To create a new virtual machine: # # vagrant up --provision # # To launch tests (for example after modifications to libsepol, libselinux... are made): # # vagrant rsync && echo ./run-selinux-test.sh | vagrant ssh # # To destroy the virtual machine (for example to start again from a clean environment): # # vagrant destroy # Create a helper script in the VM to run the testsuite as root from a clean environment $script = <