rpm-ostree/tests
Colin Walters b797a42f3e core,kernel: Set up /etc/passwd for dracut
This fixes a longstanding spew of error messages from the initramfs
because we don't have nss-altfiles set up there.  Rather than
trying to do it, just do the dance of re-synthesizing `/etc/passwd`
as it traditionally looks around running dracut, the same as we
do for scripts during core layering.

Yes, this is all a mess and hopefully I'll get to sysusers soon...
2020-02-13 23:26:04 +01:00
..
check compose: Add an automatic-version-suffix key 2019-12-13 17:11:16 +01:00
common treefile: Add exclude-packages 2020-02-05 21:02:06 +01:00
compose treefile: Add exclude-packages 2020-02-05 21:02:06 +01:00
ex-container-tests
gpghome
manual
utils tests: Add hidden testutils subcommand 2019-12-13 19:18:30 +01:00
vmcheck core,kernel: Set up /etc/passwd for dracut 2020-02-13 23:26:04 +01:00
compose.sh tests/compose: Target FCOS 31, move off of PAPR 2020-01-08 16:42:54 +01:00
ex-container
README.md
vmcheck.sh tests/compose: Target FCOS 31, move off of PAPR 2020-01-08 16:42:54 +01:00

Tests are divided into three groups:

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

  • The composecheck tests currently require uid 0 capabilities - the default in Docker, or you can run them via a user namespace. They are non-destructive, but are installed.

    To use them, you might do a make && sudo make install inside a Docker container.

    Then invoke ./tests/compose. Alternatively of course, you can simply run the tests on a host system or in an existing container, without doing a build.

    Note: This is intentionally not a Makefile target because it doesn't require building and doesn't use uninstalled binaries.

  • Tests in the vmcheck directory are oriented around using Vagrant. Use make vmcheck to run them. 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.