diff mbox series

[rt-tests,v3,07/33] pmqtest: Initialize rt-util

Message ID 20210320183829.1318-8-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/pmqtest/pmqtest.c | 1 +
 1 file changed, 1 insertion(+)

Comments

John Kacur May 7, 2021, 4:29 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/pmqtest/pmqtest.c | 1 +

>  1 file changed, 1 insertion(+)

> 

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

> index e1f59836ea07..aae3c78f8a0a 100644

> --- a/src/pmqtest/pmqtest.c

> +++ b/src/pmqtest/pmqtest.c

> @@ -502,6 +502,7 @@ int main(int argc, char *argv[])

>  	mqstat.mq_msgsize = 8;

>  	mqstat.mq_flags = 0;

>  

> +	rt_init(argc, argv);

>  	process_options(argc, argv);

>  

>  	if (check_privs())

> -- 

> 2.30.2

> 

> 

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

Patch

diff --git a/src/pmqtest/pmqtest.c b/src/pmqtest/pmqtest.c
index e1f59836ea07..aae3c78f8a0a 100644
--- a/src/pmqtest/pmqtest.c
+++ b/src/pmqtest/pmqtest.c
@@ -502,6 +502,7 @@  int main(int argc, char *argv[])
 	mqstat.mq_msgsize = 8;
 	mqstat.mq_flags = 0;
 
+	rt_init(argc, argv);
 	process_options(argc, argv);
 
 	if (check_privs())