pungi/tests
Lubomír Sedlář 82ae9e86d5 isos: Ensure proper file ownership and permissions
The genisoimage backend uses the -rational-rock option, which sets uid
and gid to 0, and makes file readable by everyone.

With xorriso this must be done explicitly. Setting ownership is a single
command, but the permissions require a per-file command to not make
files executable where not needed.

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2203888
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2023-06-01 06:29:02 +00:00
..
data comps: Apply arch filtering to environment/optionlist 2023-04-24 08:29:15 +02:00
fixtures Stop trying to validate non-existent metadata 2021-11-04 09:57:20 +01:00
__init__.py Fix test data, improve Makefile. 2015-06-25 08:02:57 -04:00
Dockerfile-test Install missing deps in ci image 2021-08-17 12:01:51 +08:00
Dockerfile-test-py2 Install missing deps in ci image 2021-08-17 12:01:51 +08:00
helpers.py isos: Ensure proper file ownership and permissions 2023-06-01 06:29:02 +00:00
Jenkinsfile Add Jenkinsfile for CI 2022-08-29 17:38:04 +08:00
test_arch.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_arguments.py Format tests with black 2020-02-05 17:29:15 +08:00
test_buildinstall.py Updated the deprecated ks argument name (to the current inst.ks) 2021-04-21 21:04:01 +03:00
test_checks.py Check dependencies after config validation 2021-11-04 13:37:51 +00:00
test_compose.py Speed up tests by 30 seconds 2022-11-23 11:48:12 +01:00
test_compose.sh tests: Fix test_compose.sh paths 2017-08-10 09:28:36 +02:00
test_comps_wrapper.py Filter out environment groups unmatch given arch 2022-02-22 11:33:25 +08:00
test_config_utils.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_config_validate_script.py Fix formatting issues 2020-02-07 16:16:20 +08:00
test_config.py Format code 2021-03-02 18:31:45 +08:00
test_createiso_phase.py createiso: Make ISO level more granular 2022-08-16 14:38:18 +02:00
test_createiso_script.py isos: Ensure proper file ownership and permissions 2023-06-01 06:29:02 +00:00
test_createrepo_wrapper.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_createrepophase.py Pass compose parameter for debugging git issue 2021-11-26 15:40:35 +08:00
test_extra_files_phase.py Use pytest instead of nosetests 2020-07-29 14:57:16 +08:00
test_extra_isos_phase.py Fix tests for python 2.6 2021-11-12 17:04:17 +08:00
test_fus_wrapper.py Format code 2021-03-02 18:31:45 +08:00
test_gather_method_deps.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
test_gather_method_hybrid.py hybrid: Explicitly pull in debugsource packages 2022-01-12 13:59:09 +00:00
test_gather_method_nodeps.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_gather_phase.py Make getting old compose config reusable 2021-09-09 10:38:34 +02:00
test_gather_source_module.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_gather.py Format code 2021-03-02 18:31:45 +08:00
test_graph.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
test_image_container_phase.py Cancel koji tasks when pungi terminated 2021-03-23 14:47:48 +08:00
test_imagebuildphase.py Update to work with latest mock 2023-01-26 13:05:48 +01:00
test_imagechecksumphase.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
test_initphase.py init: Filter comps for modular variants with tags 2022-11-03 11:11:01 +01:00
test_iso_wrapper.py Fix black complaints 2023-02-02 12:53:32 +01:00
test_koji_wrapper.py Fix black complaints 2023-02-02 12:53:32 +01:00
test_linker.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_liveimagesphase.py Update to work with latest mock 2023-01-26 13:05:48 +01:00
test_livemediaphase.py Update to work with latest mock 2023-01-26 13:05:48 +01:00
test_lorax_wrapper.py Replace -c parameter with --config 2020-08-13 11:16:43 +02:00
test_media_split.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_metadata.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_module_util.py Fix module defaults and obsoletes validation 2022-06-10 11:35:26 +00:00
test_notifier.py Update to work with latest mock 2023-01-26 13:05:48 +01:00
test_orchestrator.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_osbs_phase.py osbs: only handle archives of type "image" 2022-03-17 11:04:02 -04:00
test_osbuild_phase.py osbuild: test passing of rich repos from configuration 2022-11-28 14:47:11 +01:00
test_ostree_installer_phase.py Allow using Pungi Koji plugin for ostree phases. 2020-05-26 13:23:58 +00:00
test_ostree_phase.py ostree: Add unified core mode for compose in rpm-ostree 2022-08-23 10:52:45 +02:00
test_ostree_script.py Fix black complaints 2023-02-02 12:53:32 +01:00
test_ostree_utils.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_patch_iso.py Fix black complaint 2022-08-10 09:04:41 +02:00
test_pathmatch.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_phase_base.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_pkgset_common.py Allow disabling inheriting ExcludeArch to noarch packages 2023-03-22 12:56:02 +00:00
test_pkgset_phase.py Move test for unsigned packages with pkgset_koji_scratch_tasks to PkgsetPhase class. 2020-06-11 12:05:47 +00:00
test_pkgset_pkgsets.py pkgset: Stop reuse if configuration changed 2023-03-22 12:56:02 +00:00
test_pkgset_source_koji.py Supersede ModuleStream loading with ModuleIndex 2021-08-12 16:32:38 +02:00
test_repoclosure_phase.py Split repoclosure into separate phase 2020-04-14 09:25:57 +08:00
test_repoclosure_wrapper.py repoclosure: Use --forcearch for dnf repoclosure 2021-11-02 08:51:40 +01:00
test_runroot.py runroot: Adjust permissions always 2021-03-04 16:08:06 +08:00
test_scm.py Revert "Do not clone the same repository multiple times, re-use already cloned repository" 2022-04-13 16:21:55 +08:00
test_test_phase.py Stop trying to validate non-existent metadata 2021-11-04 09:57:20 +01:00
test_unified_isos.py Use pytest instead of nosetests 2020-07-29 14:57:16 +08:00
test_util.py util: Strip file:// from local urls 2021-05-06 12:37:55 +02:00
test_variant_wrapper.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00