The content of `/usr/lib/tmpfiles.d/rpm-ostree-1-autovar.conf` is dynamically created and its lines are not ordered deterministically. This causes the rpm-ostree based image test cases to fail often on Fedora, because the diff of the expected and actual image-info report always produces some different lines. Add a new option `-skip-tmpfilesd-path` to `osbuild-image-tests` accepting a tmpfiles.d configuration path, which should be ignored when comparing the expected and actual image-info report. The option can be specified multiple times and all paths will be ignored. Modify the `image_tests.sh` test case to use the new option and ignore the `/usr/lib/tmpfiles.d/rpm-ostree-1-autovar.conf` file when testing Fedora images. Signed-off-by: Tomas Hozza <thozza@redhat.com> |
||
|---|---|---|
| .. | ||
| constants | ||
| main_test.go | ||