* [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
* Re: [ptest-runner] timeout option missing the argument option ":" to getopt
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
0 siblings, 1 reply; 3+ messages in thread
From: Aníbal Limón @ 2017-05-29 15:54 UTC (permalink / raw)
To: Anders Wallin, yocto
[-- Attachment #1: Type: text/plain, Size: 714 bytes --]
Hi Anders,
Thanks for notice this issue, i will integrate the patch.
Cheers,
Anibal
On 05/28/2017 04:47 AM, Anders Wallin wrote:
> 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);
>
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ptest-runner] timeout option missing the argument option ":" to getopt
2017-05-29 15:54 ` Aníbal Limón
@ 2017-05-29 16:17 ` Aníbal Limón
0 siblings, 0 replies; 3+ messages in thread
From: Aníbal Limón @ 2017-05-29 16:17 UTC (permalink / raw)
To: Anders Wallin, yocto
[-- Attachment #1: Type: text/plain, Size: 945 bytes --]
On 05/29/2017 10:54 AM, Aníbal Limón wrote:
> Hi Anders,
>
> Thanks for notice this issue, i will integrate the patch.
Integrated, thanks,
http://git.yoctoproject.org/cgit/cgit.cgi/ptest-runner2/commit/?id=8a93832dad621535e90aa8e1fb74ae5ba743fc3e
>
> Cheers,
> Anibal
>
> On 05/28/2017 04:47 AM, Anders Wallin wrote:
>> 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);
>>
>
>
>
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [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.