pungi/tests
Lubomír Sedlář 81cb0952ca checksum: Refactor creating checksum files
Instead of iterating over the images metadata and appending the checksum
to relevant files immediately, we should store them and write only once.

This avoid an issue when the same image is mentioned in the metadata
multiple times. This happens for source images that are listed under
each binary arch.

The unified isos script is updated to use the exact same logic and code.
This also uncovered a problem with the metadata for debuginfo unified
isos: their paths in metadata were incorrect, which lead to missing
checksums.

Fixes: https://pagure.io/pungi/issue/667
Fixes: https://pagure.io/pungi/issue/668
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2017-07-17 08:26:51 +02:00
..
data Refactor depsolving tests 2017-02-13 12:32:07 +01:00
fixtures comps-wrapper: Report unknown package types 2017-06-01 09:59:41 +02:00
__init__.py Fix test data, improve Makefile. 2015-06-25 08:02:57 -04:00
helpers.py checksum: Refactor creating checksum files 2017-07-17 08:26:51 +02:00
test_arch.py arch: Move exclu(de|sive)arch check to a function 2017-06-06 15:28:12 +02:00
test_buildinstall.py buildinstall: Move tweaking configs into a function 2017-03-21 07:55:19 +01:00
test_checks.py checks: Fix anyOf validator yield ValidationError on ConfigOptionWarning 2017-04-18 10:05:03 +02:00
test_compose.py Create temporary dirs under compose's workdir 2017-01-11 15:25:47 +08:00
test_compose.sh Add script to generate unified ISOs 2017-01-04 10:22:20 +01:00
test_comps_wrapper.py gather: nodeps should take packages from comps groups 2017-07-11 10:21:13 +02:00
test_config_validate_script.py Fix PhaseLoggerMixin in case of compose has _logger = None 2016-11-30 14:41:02 +08:00
test_config.py pkgset: Allow populating packages from multiple koji tags 2017-06-29 08:27:34 +02:00
test_createiso_phase.py iso-wrapper: Handle wrong implant md5 2017-03-07 09:58:14 +01:00
test_createiso_script.py Remove executable permissions on test scripts 2016-10-25 10:42:16 +00:00
test_createrepo_wrapper.py Remove executable permissions on test scripts 2016-10-25 10:42:16 +00:00
test_createrepophase.py createrepo: Don't use existing metadata with deltas 2017-07-14 14:29:16 +02:00
test_extra_files_phase.py extra-files: Nice error message on missing RPM 2016-11-10 09:38:50 +01:00
test_gather_method_deps.py gather: Clean up method deps 2017-04-11 15:46:34 +02:00
test_gather_method_nodeps.py gather: nodeps should take packages from comps groups 2017-07-11 10:21:13 +02:00
test_gather_phase.py gather: Remove handling of impossible state 2017-05-02 10:12:16 +02:00
test_gather.py gather: Don't resolve dependencies in lookaside 2017-05-29 12:55:38 +02:00
test_imagebuildphase.py Be explicit about generating release for images 2017-04-13 10:17:59 +02:00
test_imagechecksumphase.py checksum: Refactor creating checksum files 2017-07-17 08:26:51 +02:00
test_initphase.py init: Warn when variants mentions non-existing comps group 2017-04-11 15:46:34 +02:00
test_iso_wrapper.py iso-wrapper: Capture debug information for mounting 2017-05-29 13:18:07 +02:00
test_koji_wrapper.py koji-wrapper: Stop mangling env variables 2017-06-05 12:46:45 +02:00
test_linker.py Remove executable permissions on test scripts 2016-10-25 10:42:16 +00:00
test_liveimagesphase.py unify repo and repo_from options 2017-03-29 10:12:32 +08:00
test_livemediaphase.py unify repo and repo_from options 2017-03-29 10:12:32 +08:00
test_lorax_wrapper.py lorax-wrapper: Put all log files into compose logs 2016-11-09 09:37:00 +01:00
test_media_split.py Include phase name in log for some phases 2016-11-23 16:47:22 +08:00
test_metadata.py extra-files: Allow configuring used checksums 2017-04-20 09:28:09 +02:00
test_notifier.py notification: Allow specifying multiple scripts 2017-06-29 08:30:56 +02:00
test_osbs_phase.py osbs: Config validation should accept a list 2017-06-23 12:39:48 +02:00
test_ostree_installer_phase.py ostree-installer: Clean up output dir 2017-06-15 08:17:07 +02:00
test_ostree_phase.py ostree: Add URL to repo to message 2017-07-11 10:24:49 +02:00
test_ostree_script.py ostree: Update tests for no ostree init 2017-06-27 07:46:35 +02:00
test_patch_iso.py Add a script for modifying ISO images 2017-03-21 07:55:19 +01:00
test_pathmatch.py Remove executable permissions on test scripts 2016-10-25 10:42:16 +00:00
test_phase_base.py tests: use unittest2 if available 2017-06-13 08:55:41 +02:00
test_pkgset_pkgsets.py gather: Log tag from which we pulled a package 2017-06-19 10:51:37 +02:00
test_pkgset_source_koji.py pkgset: Allow populating packages from multiple koji tags 2017-06-29 08:27:34 +02:00
test_repoclosure_wrapper.py repoclosure: Don't run build deps check 2017-01-30 10:16:03 +01:00
test_scm.py Remove executable permissions on test scripts 2016-10-25 10:42:16 +00:00
test_test_phase.py repoclosure: Don't run build deps check 2017-01-30 10:16:03 +01:00
test_unified_isos.py checksum: Refactor creating checksum files 2017-07-17 08:26:51 +02:00
test_util.py util: Fix finding older compose 2017-07-14 10:42:35 +02:00