Compare commits

...

5 Commits

Author SHA1 Message Date
Fedora Release Engineering e2f762f62f Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 14:54:51 +00:00
Python Maint 651e5eba3b Rebuilt for Python 3.11 2022-06-13 15:06:57 +02:00
Fedora Release Engineering 943e0aeeb1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 13:30:14 +00:00
Radek Vykydal b0b8875be0 Store test in tests, not plans 2021-09-21 15:31:49 +02:00
Radek Vykydal d446cfc104 Add smoke gating test 2021-09-01 09:06:18 +02:00
5 changed files with 39 additions and 1 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

View File

@ -1,7 +1,7 @@
Summary: Utilities for working with md5sum implanted in ISO images
Name: isomd5sum
Version: 1.2.3
Release: 14%{?dist}
Release: 17%{?dist}
Epoch: 1
License: GPLv2+
@ -63,6 +63,15 @@ PYTHON=%{__python3} make DESTDIR=$RPM_BUILD_ROOT install-bin install-devel insta
%{python3_sitearch}/pyisomd5sum.so
%changelog
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.2.3-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1:1.2.3-16
- Rebuilt for Python 3.11
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.2.3-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.2.3-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild

7
plans/smoke.fmf Normal file
View File

@ -0,0 +1,7 @@
summary: Smoke tests for isomd5sum tools
discover:
how: fmf
execute:
how: tmt

6
tests/smoke.fmf Normal file
View File

@ -0,0 +1,6 @@
summary: Basic smoke test
contact: Radek Vykydal <rvykydal@redhat.com>
path: /tests
test: ./smoke.sh
duration: 30m
require: [genisoimage, coreutils, isomd5sum]

15
tests/smoke.sh Executable file
View File

@ -0,0 +1,15 @@
#!/bin/sh -eux
# Create testing iso image
rm -rf ./isocontent
mkdir isocontent
dd if=/dev/zero of=isocontent/big_enough_file bs=500K count=1
mkisofs -o test.iso isocontent
# Implant and check md5 sum
implantisomd5 test.iso
checkisomd5 --verbose test.iso
# Destroy testing iso image
rm -rf ./isocontent
rm test.iso