diff mbox series

[rt-tests,v3,11/33] signaltest: Initialize rt-util

Message ID 20210320183829.1318-12-dwagner@suse.de
State New
Headers show
Series JSON cleanups and more tests updated | expand

Commit Message

Daniel Wagner March 20, 2021, 6:38 p.m. UTC
Allow rt-util make a copy of the command line.

Signed-off-by: Daniel Wagner <dwagner@suse.de>
---
 src/signaltest/signaltest.c | 1 +
 1 file changed, 1 insertion(+)

Comments

John Kacur May 7, 2021, 4:32 p.m. UTC | #1
On Sat, 20 Mar 2021, Daniel Wagner wrote:

> Allow rt-util make a copy of the command line.

> 

> Signed-off-by: Daniel Wagner <dwagner@suse.de>

> ---

>  src/signaltest/signaltest.c | 1 +

>  1 file changed, 1 insertion(+)

> 

> diff --git a/src/signaltest/signaltest.c b/src/signaltest/signaltest.c

> index e2ffc0bb8693..4da8436e4296 100644

> --- a/src/signaltest/signaltest.c

> +++ b/src/signaltest/signaltest.c

> @@ -414,6 +414,7 @@ int main(int argc, char **argv)

>  	int status, cpu;

>  	int max_cpus = sysconf(_SC_NPROCESSORS_ONLN);

>  

> +	rt_init(argc, argv);

>  	process_options(argc, argv, max_cpus);

>  

>  	if (check_privs())

> -- 

> 2.30.2

> 

> 

Signed-off-by: John Kacur <jkacur@redhat.com>
diff mbox series

Patch

diff --git a/src/signaltest/signaltest.c b/src/signaltest/signaltest.c
index e2ffc0bb8693..4da8436e4296 100644
--- a/src/signaltest/signaltest.c
+++ b/src/signaltest/signaltest.c
@@ -414,6 +414,7 @@  int main(int argc, char **argv)
 	int status, cpu;
 	int max_cpus = sysconf(_SC_NPROCESSORS_ONLN);
 
+	rt_init(argc, argv);
 	process_options(argc, argv, max_cpus);
 
 	if (check_privs())