pungi/tests
Qixiang Wan 40df2034a8 image_checksum: add file sizes to checksum files
Write file sizes of images in checksum files with comment lines,
checksum files are in BSD-style which supports comments by starting
a line with '#'.

Example:

$ cat RHEL-7.4-20170123.n.4/compose/Server/x86_64/iso/RHEL-Server-7.4-x86_64-20170123.n.4-CHECKSUM
 # RHEL-7.4-20170123.n.4-Server-x86_64-dvd1.iso: 3725590528 bytes
 # RHEL-7.4-20170123.n.4-Server-x86_64-boot.iso: 377487360 bytes
 SHA256 (RHEL-7.4-20170123.n.4-Server-x86_64-dvd1.iso) = fa3de37fe4b859a0285f16ea1123f44f15aec169aea84bf010aa3821bd58fc41
 SHA256 (RHEL-7.4-20170123.n.4-Server-x86_64-boot.iso) = 74bf68c54665328adb08b09daf773c67e633b5907e3e2797338ab3c1b58fdf48

(No space at the start of line, because git commit message drops lines
start with '#', added one space to avoid that.)

When there are multiple checksum types specified and checksums are
written to individual files, file size of the image will also be
written to every checksum files.

Fixes: #493

Signed-off-by: Qixiang Wan <qwan@redhat.com>
2017-01-23 18:20:21 +08:00
..
data pungi: Include noarch debuginfo 2016-11-16 14:50:03 +01:00
fixtures unified-iso: Create isos with debuginfo packages 2017-01-11 14:36:25 +01:00
__init__.py Fix test data, improve Makefile. 2015-06-25 08:02:57 -04:00
helpers.py Create temporary dirs under compose's workdir 2017-01-11 15:25:47 +08:00
test_arch.py Remove executable permissions on test scripts 2016-10-25 10:42:16 +00:00
test_buildinstall.py Create temporary dirs under compose's workdir 2017-01-11 15:25:47 +08:00
test_checks.py Merge #448 Remove executable permissions on test scripts 2016-10-26 07:31:37 +00: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_config_validate_script.py Fix PhaseLoggerMixin in case of compose has _logger = None 2016-11-30 14:41:02 +08:00
test_config.py config: Report unknown options as warnings 2016-12-13 11:58:08 +01:00
test_createiso_phase.py Include phase name in log for some phases 2016-11-23 16:47:22 +08: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: Add tests for adding product certificates 2016-11-23 11:17:04 +01:00
test_extra_files_phase.py extra-files: Nice error message on missing RPM 2016-11-10 09:38:50 +01:00
test_imagebuildphase.py image-build: Allow failure only on some arches 2016-12-14 10:14:30 +01:00
test_imagechecksumphase.py image_checksum: add file sizes to checksum files 2017-01-23 18:20:21 +08:00
test_initphase.py Remove executable permissions on test scripts 2016-10-25 10:42:16 +00:00
test_koji_wrapper.py Add test for krb_login with principal and keytab 2016-12-14 12:58:23 +00:00
test_linker.py Remove executable permissions on test scripts 2016-10-25 10:42:16 +00:00
test_liveimagesphase.py config: Report unknown options as warnings 2016-12-13 11:58:08 +01:00
test_livemediaphase.py live-media: Allow some arches to fail 2016-12-14 10:14:30 +01: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: Write a metadata file enumerating extra files 2016-09-07 13:02:48 +02:00
test_notifier.py Remove executable permissions on test scripts 2016-10-25 10:42:16 +00:00
test_osbs_phase.py osbs: optionally check GPG signatures 2017-01-17 13:08:58 +08:00
test_ostree_installer_phase.py ostree-installer: Allow multiple repos in ostree installer 2017-01-13 16:57:30 +08:00
test_ostree_phase.py [ostree] Add 'tree' sub-command to pungi-make-ostree script 2016-12-12 19:30:35 +08:00
test_ostree_script.py [ostree-installer] Add 'installer' sub-command to pungi-make-ostree 2016-12-12 19:30:35 +08:00
test_pathmatch.py Remove executable permissions on test scripts 2016-10-25 10:42:16 +00:00
test_paths.py Add JSON Schema for configuration 2016-09-01 10:56:15 +02:00
test_phase_base.py Add common global settings for images 2016-04-18 18:11:29 +02:00
test_pkgset_pkgsets.py Remove executable permissions on test scripts 2016-10-25 10:42:16 +00:00
test_pkgset_source_koji.py Remove executable permissions on test scripts 2016-10-25 10:42:16 +00:00
test_pungi.py pungi: Handle missing SRPM 2016-12-13 10:45:04 +01:00
test_scm.py Remove executable permissions on test scripts 2016-10-25 10:42:16 +00:00
test_test_phase.py Remove executable permissions on test scripts 2016-10-25 10:42:16 +00:00
test_unified_isos.py unified-iso: Create isos with debuginfo packages 2017-01-11 14:36:25 +01:00
test_util.py Remove executable permissions on test scripts 2016-10-25 10:42:16 +00:00