diff mbox series

[rt-tests,v3,09/33] rt-migrate-test: Initialize rt-util

Message ID 20210320183829.1318-10-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/rt-migrate-test/rt-migrate-test.c | 1 +
 1 file changed, 1 insertion(+)

Comments

John Kacur May 7, 2021, 4:31 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/rt-migrate-test/rt-migrate-test.c | 1 +

>  1 file changed, 1 insertion(+)

> 

> diff --git a/src/rt-migrate-test/rt-migrate-test.c b/src/rt-migrate-test/rt-migrate-test.c

> index 56b7b66ccdf4..daa876d3e2b2 100644

> --- a/src/rt-migrate-test/rt-migrate-test.c

> +++ b/src/rt-migrate-test/rt-migrate-test.c

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

>  	struct timespec intv;

>  	struct sched_param param;

>  

> +	rt_init(argc, argv);

>  	parse_options(argc, argv);

>  

>  	signal(SIGINT, stop_log);

> -- 

> 2.30.2

> 

> 

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

Patch

diff --git a/src/rt-migrate-test/rt-migrate-test.c b/src/rt-migrate-test/rt-migrate-test.c
index 56b7b66ccdf4..daa876d3e2b2 100644
--- a/src/rt-migrate-test/rt-migrate-test.c
+++ b/src/rt-migrate-test/rt-migrate-test.c
@@ -535,6 +535,7 @@  int main (int argc, char **argv)
 	struct timespec intv;
 	struct sched_param param;
 
+	rt_init(argc, argv);
 	parse_options(argc, argv);
 
 	signal(SIGINT, stop_log);