All of lore.kernel.org
 help / color / mirror / Atom feed
* [ptest-runner] timeout option missing the argument option ":" to getopt
@ 2017-05-28  9:47 Anders Wallin
  2017-05-29 15:54 ` Aníbal Limón
  0 siblings, 1 reply; 3+ messages in thread
From: Anders Wallin @ 2017-05-28  9:47 UTC (permalink / raw)
  To: yocto

ptest-runner -t xx gives segfault

Signed-off-by: Anders Wallin <wallinux@gmail.com>
---
 main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main.c b/main.c
index d7a546f..505829c 100644
--- a/main.c
+++ b/main.c
@@ -66,7 +66,7 @@ main(int argc, char *argv[])
 	opts.ptests = NULL;
 	opts.xml_filename = NULL;
 
-	while ((opt = getopt(argc, argv, "d:ltx:h")) != -1) {
+	while ((opt = getopt(argc, argv, "d:lt:x:h")) != -1) {
 		switch (opt) {
 			case 'd':
 				free(opts.directory);
-- 
2.11.0



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-05-29 16:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-28  9:47 [ptest-runner] timeout option missing the argument option ":" to getopt Anders Wallin
2017-05-29 15:54 ` Aníbal Limón
2017-05-29 16:17   ` Aníbal Limón

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.