Compare commits

..

No commits in common. "rawhide" and "f41" have entirely different histories.

8 changed files with 93 additions and 44 deletions

View file

@ -1 +0,0 @@
1

View file

@ -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 <releng@fedoraproject.org> - 2.4.19-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Fri Jan 17 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.19-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Wed Aug 07 2024 Miroslav Suchý <msuchy@redhat.com> - 2.4.19-14
- convert license to SPDX

View file

@ -1,11 +0,0 @@
---
/:
inherit: false
summary: Plan for running all tests
discover:
how: fmf
execute:
how: tmt

View file

@ -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 <omoris@redhat.com>
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# 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 <omoris@redhat.com>" > $(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)

View file

@ -0,0 +1,11 @@
PURPOSE of /CoreOS/iprutils/basic-functionality-test
Description: Tier1 tests
Author: Than Ngo <than@redhat.com>
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

View file

@ -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

View file

@ -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 <omoris@redhat.com>
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

13
tests/tests.yml Normal file
View file

@ -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