Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 0 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,23 +28,3 @@ Unfortunately the tests require root only syscalls and thus must be run as root.
There is little point in mocking out these syscalls as I want to test they
actually function as expected and if they were to be mocked out then the tests
would not really be testing anything useful.

A vagrant file is provided that can be used to create an environment to safely
run these tests locally as root. With [Vagrant] and [VirtualBox] installed you
can do the following to run the tests.

```bash
vagrant up
vagrant ssh
sudo -i
cd /vagrant
cargo test
```

Note that the tests are built with root privileges, but since vagrant maps this
directory back to the host as your normal user there is minimal issues with
this. At worst the vagrant box will become trashed and can be rebuilt in
minutes.

[vagrant]: https://www.vagrantup.com/docs/installation/
[virtualbox]: https://www.virtualbox.org/
Loading