diff mbox series

[rt-tests,v3,13/33] svematest: Initialize rt-util

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

Comments

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

>  1 file changed, 1 insertion(+)

> 

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

> index 23f84bcbd3dc..24e5e7adf494 100644

> --- a/src/svsematest/svsematest.c

> +++ b/src/svsematest/svsematest.c

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

>  	if (myfile == NULL)

>  		myfile = argv[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/svsematest/svsematest.c b/src/svsematest/svsematest.c
index 23f84bcbd3dc..24e5e7adf494 100644
--- a/src/svsematest/svsematest.c
+++ b/src/svsematest/svsematest.c
@@ -514,6 +514,7 @@  int main(int argc, char *argv[])
 	if (myfile == NULL)
 		myfile = argv[0];
 
+	rt_init(argc, argv);
 	process_options(argc, argv);
 
 	if (check_privs())