ostree/tests/installed
Colin Walters 5963d5a2a9 tests,ci: Move "test-basic" (bare mode) to installed test
Our CI uses default Docker, which has SELinux labeling but is rather
evil in returning `EOPNOTSUPP` to any attempts to set `security.selinux`,
even if to the same value.

The previous fire 🔥 for this was: https://github.com/ostreedev/ostree/pull/759

The `bare` repo mode really only makes sense as uid 0, so our installed
test framework is a good match for this.  However, the unit tests *do*
work in a privileged container even as non-root, and *also* should
work on SELinux-disabled systems.  So let's teach the test framework
how to skip in those situations.

I tested this both in a priv container (my default builder) and an unpriv
container (like our CI).

At the same time, start executing the `test-basic.sh` from an installed test,
so we get better coverage than before.

This is just the start - all of the sysroot tests really need the
same treatment.

Closes: #1217
Approved by: jlebon
2017-09-27 13:13:14 +00:00
..
README.md tests/installed: New installed, privileged tests using Fedora AH 2017-04-25 15:15:06 +00:00
fah-prep.sh tests,ci: Move "test-basic" (bare mode) to installed test 2017-09-27 13:13:14 +00:00
itest-bare-root.sh tests: For installed, s/test-/itest-/ to avoid in-tree name clashes 2017-05-09 15:08:26 +00:00
itest-bare-unit.sh tests,ci: Move "test-basic" (bare mode) to installed test 2017-09-27 13:13:14 +00:00
itest-bareuser-nouserxattrs.sh lib/repo: Immediately error creating bare-user repo on tmpfs 2017-07-06 14:31:37 +00:00
itest-deploy-selinux.sh checkout: Don't set dir mtime to 0 when doing a force copy checkout 2017-07-07 15:01:51 +00:00
itest-label-selinux.sh commit: filter out selinux label before commit 2017-08-31 12:07:46 +00:00
itest-pull-space.sh lib/repo: Add min-free-space-percent option, default 3% 2017-07-04 16:15:11 +00:00
itest-pull.sh lib/commit: Add a copy fastpath for imports 2017-09-26 16:50:41 +00:00
itest-remotes.sh Add a notion of "physical" sysroot, use for remote writing 2017-07-18 18:58:06 +00:00
libinsttest.sh tests: Migrate test-pull-many.sh to installed on FAH 2017-05-09 15:08:26 +00:00
libtest-core.sh tests/installed: New installed, privileged tests using Fedora AH 2017-04-25 15:15:06 +00:00
run.sh tests: For installed, s/test-/itest-/ to avoid in-tree name clashes 2017-05-09 15:08:26 +00:00

README.md

This suite of tests is currently run from redhat-ci; they're intended to run as root.