36 lines
1.2 KiB
Diff
36 lines
1.2 KiB
Diff
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
|
|
|