diff --git a/.fmf/version b/.fmf/version deleted file mode 100644 index d00491f..0000000 --- a/.fmf/version +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/iprutils.spec b/iprutils.spec index fb01523..ae13436 100644 --- a/iprutils.spec +++ b/iprutils.spec @@ -3,8 +3,9 @@ Summary: Utilities for the IBM Power Linux RAID adapters Name: iprutils Version: 2.4.19 -Release: 16%{?dist} -License: CPL-1.0 +Release: 14%{?dist} +# Automatically converted from old format: CPL-1.0 - review is highly recommended. +License: Not a valid license string in legacy syntax. Pass '--verbose' to get full parser error. URL: https://github.com/bjking1/iprutils Source0: https://github.com/bjking1/iprutils/archive/%{gitver}/%{name}-%{version}.tar.gz @@ -79,12 +80,6 @@ rm %{buildroot}/%{_sysconfdir}/ha.d/resource.d/iprha %changelog -* Thu Jul 24 2025 Fedora Release Engineering - 2.4.19-16 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild - -* Fri Jan 17 2025 Fedora Release Engineering - 2.4.19-15 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - * Wed Aug 07 2024 Miroslav Suchý - 2.4.19-14 - convert license to SPDX diff --git a/plans/basic.fmf b/plans/basic.fmf deleted file mode 100644 index b5711c6..0000000 --- a/plans/basic.fmf +++ /dev/null @@ -1,11 +0,0 @@ ---- -/: - inherit: false - -summary: Plan for running all tests - -discover: - how: fmf -execute: - how: tmt - diff --git a/tests/basic-functionality-test/Makefile b/tests/basic-functionality-test/Makefile new file mode 100644 index 0000000..5530481 --- /dev/null +++ b/tests/basic-functionality-test/Makefile @@ -0,0 +1,65 @@ +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# +# Makefile of /CoreOS/patch/Regression/Cannot-handle-file-names-with-integrated-spaces +# Description: Test for bz431887 (Cannot handle file names with integrated spaces) +# Author: Ondrej Moris +# +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# +# Copyright (c) 2010 Red Hat, Inc. All rights reserved. +# +# This copyrighted material is made available to anyone wishing +# to use, modify, copy, or redistribute it subject to the terms +# and conditions of the GNU General Public License version 2. +# +# This program is distributed in the hope that it will be +# useful, but WITHOUT ANY WARRANTY; without even the implied +# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +# PURPOSE. See the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public +# License along with this program; if not, write to the Free +# Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +# Boston, MA 02110-1301, USA. +# +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +export TEST=/CoreOS/patch/Regression/Cannot-handle-file-names-with-integrated-spaces +export TESTVERSION=1.0 + +BUILT_FILES= + +FILES=$(METADATA) runtest.sh Makefile PURPOSE + +.PHONY: all install download clean + +run: $(FILES) build + ./runtest.sh + +build: $(BUILT_FILES) + chmod a+x runtest.sh + +clean: + rm -f *~ $(BUILT_FILES) + + +include /usr/share/rhts/lib/rhts-make.include + +$(METADATA): Makefile + @echo "Owner: Ondrej Moris " > $(METADATA) + @echo "Name: $(TEST)" >> $(METADATA) + @echo "TestVersion: $(TESTVERSION)" >> $(METADATA) + @echo "Path: $(TEST_DIR)" >> $(METADATA) + @echo "Description: Test for bz431887 (Cannot handle file names with integrated spaces)" >> $(METADATA) + @echo "Type: Regression" >> $(METADATA) + @echo "TestTime: 5m" >> $(METADATA) + @echo "RunFor: patch" >> $(METADATA) + @echo "Requires: patch" >> $(METADATA) + @echo "Requires: expect" >> $(METADATA) + @echo "Priority: Normal" >> $(METADATA) + @echo "License: GPLv2" >> $(METADATA) + @echo "Confidential: no" >> $(METADATA) + @echo "Destructive: no" >> $(METADATA) + @echo "Bug: 431887" >> $(METADATA) + + rhts-lint $(METADATA) diff --git a/tests/basic-functionality-test/PURPOSE b/tests/basic-functionality-test/PURPOSE new file mode 100644 index 0000000..4d05a09 --- /dev/null +++ b/tests/basic-functionality-test/PURPOSE @@ -0,0 +1,11 @@ +PURPOSE of /CoreOS/iprutils/basic-functionality-test +Description: Tier1 tests +Author: Than Ngo + +tests following scenarios: + * test iprdump --version + * test iprinit --version + * test iprupdate --version + * test Services: iprdump, iprinit, iprupdate + * test existence of man pages + * test existence of license and readme file diff --git a/tests/sanity/runtest.sh b/tests/basic-functionality-test/runtest.sh similarity index 99% rename from tests/sanity/runtest.sh rename to tests/basic-functionality-test/runtest.sh index 2cc274e..b16a304 100755 --- a/tests/sanity/runtest.sh +++ b/tests/basic-functionality-test/runtest.sh @@ -30,6 +30,7 @@ PACKAGES="iprutils man-db coreutils rpm" SERVICES="iprdump iprinit iprupdate" # Include Beaker environment +. /usr/bin/rhts-environment.sh || exit 1 . /usr/share/beakerlib/beakerlib.sh || exit 1 rlJournalStart diff --git a/tests/sanity/main.fmf b/tests/sanity/main.fmf deleted file mode 100644 index b0aef71..0000000 --- a/tests/sanity/main.fmf +++ /dev/null @@ -1,24 +0,0 @@ -summary: Test for bz431887 (Cannot handle file names with integrated spaces) -description: "tests following scenarios:\n * test iprdump --version\n * test iprinit - --version\n * test iprupdate --version\n * test Services: iprdump, iprinit, iprupdate\n\ - \ * test existence of man pages\n * test existence of license and readme file\ - \ \n" -contact: Ondrej Moris -link: - - relates: https://bugzilla.redhat.com/show_bug.cgi?id=431887 -component: - - patch -test: ./runtest.sh -framework: beakerlib -recommend: - - iprutils - - patch - - expect - - man-db - - coreutils - - rpm -duration: 5m -extra-summary: - /CoreOS/patch/Regression/Cannot-handle-file-names-with-integrated-spaces -extra-task: - /CoreOS/patch/Regression/Cannot-handle-file-names-with-integrated-spaces diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..7619f5f --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,13 @@ +--- +# Run tests in all contexts +- hosts: localhost + tags: + - classic + roles: + - role: standard-test-beakerlib + tests: + - basic-functionality-test + required_packages: + - man-db + - coreutils + - rpm