rpm-ostree/tests/vmcheck/README.md
Colin Walters 77eb3e2b5b tests: Introduce "vmcheck"
This is infrastructure that's oriented around Vagrant, we do builds
inside the target VM (actually inside a Docker container), but then
directly `make install DESTDIR=/host/`.

The goal here is to have a convenient workflow for:

  - dev -> hand testing
  - dev -> run destructive tests

Closes: #303
Approved by: jlebon
2016-06-07 18:39:46 +00:00

31 lines
448 B
Markdown

Using vmcheck
=============
One time setup:
```
host$ vagrant up
host$ vagrant ssh
vm$ sudo rpm-ostree rebase centos-atomic-continuous:centos-atomic-host/7/x86_64/devel/continuous
vm$ systemctl reboot
```
Edit source code on the host system; to synchronize, use:
```
vagrant rsync
```
To build and install into the VM:
```
host$ vagrant ssh
vm$ cd ~/sync/tests/vmcheck
vm$ make build
vm$ make install
vm$ systemctl restart rpm-ostreed
```