rpm-ostree/tests
Jonathan Lebon 313a832d7c vagrant: generate ssh-config
We further split libvm from vagrant. It no longer does 'vagrant
ssh-config'. Instead, it always assumes that an ssh-config is provided.
We now have complete separation of libvm from vagrant.

We change the ansible provisioner as follows:
  - Allow passing in a VAGRANT_BOX env var to override the default
    CentOS box.
  - No longer assume that the root user account is unlocked and has a
    valid 'vagrant' password. This worked for the centos box but isn't
    sure to work on every box. Instead, we now just run ansible as the
    default vagrant user, and during provisioning set up the root
    account and generate an ssh-config so that libvm can connect
    directly as root.
  - No longer build the buildimg during provisioning. This actually
    stopped working a while ago since the default rsync is disabled. We
    can just let the buildimg get created on the first compilation. In
    practice, the bigger issue isn't creating the buildimg, but being
    able to easily update the host and buildimg pkgs.

Closes: #516
Approved by: jlebon
2016-11-16 18:14:23 +00:00
..
check test-basic.sh: add test for bad out-of-branch deploy 2016-10-20 14:06:58 +00:00
common vagrant: generate ssh-config 2016-11-16 18:14:23 +00:00
manual db: Remove query parameter to diff 2015-04-23 16:30:18 -04:00
utils vmcheck: move vmbuild and vmoverlay to scripts 2016-07-15 19:14:19 +00:00
vmcheck tests: Test pinned package version 2016-11-14 21:31:54 +00:00
README.md vmcheck: add timeout option for vm_ssh_wait 2016-06-29 19:17:38 +00:00

Tests are divided into two groups:

  • Tests in the check directory are non-destructive and uninstalled. Some of the tests require root privileges. Use make check to run these.

  • Tests in the vmcheck directory are destructive and installed. They are run inside a VM. Use make vmcheck to run these (see also HACKING.md in the top directory).

The common directory contains files used by multiple tests. The utils directory contains helper utilities required to run the tests.