Compare commits

...
Sign in to create a new pull request.

4 commits

Author SHA1 Message Date
Jan Friesse
fb8cbc4ca1 Migrate tests from STI to TMT format
Signed-off-by: Jan Friesse <jfriesse@redhat.com>
2025-07-28 10:01:39 +02:00
Fedora Release Engineering
25c3a8a9ee Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-24 23:29:55 +00:00
Jan Friesse
a86589621c Add git build dependency
Required for autosetup git_am

Signed-off-by: Jan Friesse <jfriesse@redhat.com>
2025-03-25 11:13:20 +01:00
Jan Friesse
0e1095a6f0 Use autosetup
Signed-off-by: Jan Friesse <jfriesse@redhat.com>
2025-03-25 11:07:42 +01:00
7 changed files with 19 additions and 15 deletions

1
.fmf/version Normal file
View file

@ -0,0 +1 @@
1

View file

@ -1,6 +1,6 @@
Name: omping
Version: 0.0.4
Release: 34%{?dist}
Release: 35%{?dist}
Summary: Utility to test IP multicast functionality
License: ISC
URL: https://github.com/jfriesse/omping
@ -8,13 +8,14 @@ Source0: https://github.com/jfriesse/%{name}/releases/download/%{version}/%{name
BuildRequires: gcc
BuildRequires: make
BuildRequires: git
%description
Omping (Open Multicast Ping) is tool to test IP multicast functionality
primarily in local network.
%prep
%setup -q
%autosetup -S git_am
%build
%set_build_flags
@ -30,6 +31,9 @@ primarily in local network.
%{_mandir}/man8/*
%changelog
* Thu Jul 24 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.4-35
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Fri Jan 17 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.4-34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild

3
tests/.gitignore vendored
View file

@ -1,3 +0,0 @@
# Ignore tests runs/artefacts.
artifacts/**
**/*.retry

10
tests/plan.fmf Normal file
View file

@ -0,0 +1,10 @@
summary: Run all smoke tests
discover:
how: fmf
execute:
how: tmt
prepare:
how: install
package:
- iproute
- omping

2
tests/smoke/main.fmf Normal file
View file

@ -0,0 +1,2 @@
summary: Basic smoke test
test: ./runtest.sh

0
tests/smoke/runtest.sh Normal file → Executable file
View file

View file

@ -1,10 +0,0 @@
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
tests:
- smoke
required_packages:
- iproute
- omping