Add a new CLI option to `osbuild-image-tests` called `-skip-selinux-ctx-check` to workaround the limitation of `setfiles` on RHEL-8 [1]. If the option is passed to the binary, then the 'selinux/context-mismatch' part is removed from the "expected" and "actual" image-info report, before these two reports are compared. Modify `image_tests.sh` to run `osbuild-image-tests` with `-skip-selinux-ctx-check` when run on RHEL-8. [1] https://bugzilla.redhat.com/show_bug.cgi?id=1973754 Signed-off-by: Tomas Hozza <thozza@redhat.com> |
||
|---|---|---|
| .. | ||
| cloud-cleaner | ||
| osbuild-auth-tests | ||
| osbuild-composer | ||
| osbuild-composer-cli-tests | ||
| osbuild-dnf-json-tests | ||
| osbuild-image-tests | ||
| osbuild-koji | ||
| osbuild-koji-tests | ||
| osbuild-pipeline | ||
| osbuild-store-dump | ||
| osbuild-upload-aws | ||
| osbuild-upload-azure | ||
| osbuild-upload-gcp | ||
| osbuild-worker | ||