diff mbox series

[rt-tests,v3,12/33] sigwaittest: Initialize rt-util

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

Comments

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

>  1 file changed, 1 insertion(+)

> 

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

> index 0cdf30a6a769..a1808409730a 100644

> --- a/src/sigwaittest/sigwaittest.c

> +++ b/src/sigwaittest/sigwaittest.c

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

>  	char f_opt[14];

>  	struct timespec launchdelay, maindelay;

>  

> +	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/sigwaittest/sigwaittest.c b/src/sigwaittest/sigwaittest.c
index 0cdf30a6a769..a1808409730a 100644
--- a/src/sigwaittest/sigwaittest.c
+++ b/src/sigwaittest/sigwaittest.c
@@ -473,6 +473,7 @@  int main(int argc, char *argv[])
 	char f_opt[14];
 	struct timespec launchdelay, maindelay;
 
+	rt_init(argc, argv);
 	process_options(argc, argv);
 
 	if (check_privs())