import rt-tests-2.1-2.el8
This commit is contained in:
parent
ef835c0fc9
commit
c895ce1aa1
35
SOURCES/rt-tests-Add-missing-option-F-to-optstring.patch
Normal file
35
SOURCES/rt-tests-Add-missing-option-F-to-optstring.patch
Normal file
@ -0,0 +1,35 @@
|
||||
From 419aa72080b78210a0c8ef0c23cf56aeada1d880 Mon Sep 17 00:00:00 2001
|
||||
From: Leah Leshchinsky <lleshchi@redhat.com>
|
||||
Date: Mon, 13 Sep 2021 15:29:51 -0400
|
||||
Subject: [PATCH] rt-tests: Add missing option F to optstring
|
||||
|
||||
The cyclictest help output lists -F as the short version of the
|
||||
--fifo option, yet calling cyclictest -F produces an error
|
||||
cyclictest: invalid option --'F'".
|
||||
followed by the usage() message
|
||||
|
||||
This patch adds -F as a valid argument.
|
||||
|
||||
Signed-off-by: Leah Leshchinsky <lleshchi@redhat.com>
|
||||
-Minor Fix to the commit message
|
||||
Signed-off-by: John Kacur <jkacur@redhat.com>
|
||||
---
|
||||
src/cyclictest/cyclictest.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/cyclictest/cyclictest.c b/src/cyclictest/cyclictest.c
|
||||
index a08c91d..f8f7dbc 100644
|
||||
--- a/src/cyclictest/cyclictest.c
|
||||
+++ b/src/cyclictest/cyclictest.c
|
||||
@@ -1011,7 +1011,7 @@ static void process_options(int argc, char *argv[], int max_cpus)
|
||||
{"posix_timers", no_argument, NULL, OPT_POSIX_TIMERS },
|
||||
{NULL, 0, NULL, 0 },
|
||||
};
|
||||
- int c = getopt_long(argc, argv, "a::A::b:c:d:D:h:H:i:l:MNo:p:mqrRsSt::uvD:x",
|
||||
+ int c = getopt_long(argc, argv, "a::A::b:c:d:D:F:h:H:i:l:MNo:p:mqrRsSt::uvD:x",
|
||||
long_options, &option_index);
|
||||
if (c == -1)
|
||||
break;
|
||||
--
|
||||
2.27.0
|
||||
|
@ -6,7 +6,7 @@ Name: rt-tests
|
||||
# Numa argument to make: NUMA=1
|
||||
#
|
||||
Version: 2.1
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: GPLv2
|
||||
Group: Development/Tools
|
||||
URL: git://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git
|
||||
@ -21,6 +21,7 @@ BuildRequires: python3-devel
|
||||
Requires: bash bc
|
||||
|
||||
#Patches
|
||||
Patch1: rt-tests-Add-missing-option-F-to-optstring.patch
|
||||
|
||||
%description
|
||||
rt-tests is a set of programs that test and measure various components of
|
||||
@ -29,6 +30,7 @@ latency. It also tests the functioning of priority-inheritance mutexes.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
%set_build_flags
|
||||
@ -83,6 +85,10 @@ rm -rf ${build_root}
|
||||
%{_mandir}/man8/determine_maximum_mpps.8.*
|
||||
|
||||
%changelog
|
||||
* Tue Oct 12 2021 Leah Leshchinsky <lleshchi@redhat.com> - 2.1-2
|
||||
- Add missing option F to optstring
|
||||
Resolves: rhbz#2000974
|
||||
|
||||
* Wed Jun 30 2021 John Kacur <jkacur@redhat.com> - 2.1-1
|
||||
- Update to rt-tests-2.1 upstream
|
||||
Resolves: rhbz#1954387
|
||||
|
Loading…
Reference in New Issue
Block a user