Tests: drop time-max-rss.sh test

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
This commit is contained in:
Stephen Gallagher 2023-06-28 14:06:30 -04:00 committed by Petr Písař
parent 41bbb683fd
commit 03e009c1bd
2 changed files with 20 additions and 1 deletions

View File

@ -0,0 +1,11 @@
diff --color -ruN time-1.9.orig/Makefile.am time-1.9/Makefile.am
--- time-1.9.orig/Makefile.am 2017-11-08 16:31:54.000000000 -0500
+++ time-1.9/Makefile.am 2023-06-28 13:26:45.271212609 -0400
@@ -74,7 +74,6 @@
TESTS = tests/help-version.sh \
- tests/time-max-rss.sh \
tests/time-exit-codes.sh \
tests/time-posix-quiet.sh

View File

@ -1,7 +1,7 @@
Summary: A GNU utility for monitoring a program's use of system resources
Name: time
Version: 1.9
Release: 20%{?dist}
Release: 21%{?dist}
# src/time.c: GPLv3+
# COPYING: GPLv3 text
# doc/time.texi: GFDL
@ -56,6 +56,10 @@ Patch2: time-1.9-Use-kibibytes-instead-of-kilobytes-in-a-documentatio.patch
# proposed to an upstream,
# <https://lists.gnu.org/archive/html/bug-time/2020-11/msg00001.html>
Patch3: time-1.9-Close-outfp-before-exec.patch
# The time-max-rss.sh test randomly fails( mallocating 5 MB more does not have
# to increase RSS in 5 MB). In addition there is regression in ppc64le kernel
# (bug #2212765) which always fails.
Patch4: time-1.9-drop-flawed-rss-test.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: bash
@ -80,6 +84,7 @@ the results.
# Set time stamp stored in an info page to the latest patch
touch -d "$(sed -n -e '/^Date: /{s/^[^:]*: //;p}' %{PATCH2})" doc/time.texi
%patch3 -p1
%patch4 -p1
# Correct version VERSION flag for doc/time.texi
# <https://lists.gnu.org/archive/html/bug-time/2021-01/msg00000.html>
printf '%{version}\n' > .tarball-version
@ -105,6 +110,9 @@ rm -f $RPM_BUILD_ROOT%{_infodir}/dir
# time(1) manual page lives in man-pages package, bug #1612294.
%changelog
* Wed Jun 28 2023 Stephen Gallagher <sgallagh@redhat.com> - 1.9-21
- Tests: drop time-max-rss.sh test (bug #2212765)
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.9-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild