ostree/tests/installed
Jonathan Lebon 12114ce382 commit: filter out selinux label before commit
The new --selinux-policy added in [0] exposed a subtle issue in the way
we handle labeling during commit. The CI system in rpm-ostree hit this
when trying to make use of it[1].

Basically, because of the way we use a GVariant to represent xattrs, if
a file to be committed already has an SELinux label, the xattr object
ends up with *two* label entries. This of course throws off fsck later
on, since the checksum will have gone over both entries, even though the
on-disk file will only have a single label (in which the second entry
wins).

I confirmed that the `fsck` added in the installed test fails without
the rest of this patch.

[0] https://github.com/ostreedev/ostree/pull/1114
[1] https://github.com/projectatomic/rpm-ostree/pull/953

Closes: #1121
Approved by: cgwalters
2017-08-31 12:07:46 +00:00
..
fah-prep.sh ci: Extend FAH rootfs for installed tests 2017-05-09 15:08:26 +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-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 tests: Migrate test-pull-many.sh to installed on FAH 2017-05-09 15:08:26 +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
README.md 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

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