linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] fix argument -C on cyclictest
@ 2009-04-19 15:09 trem
  2009-04-19 17:52 ` Uwe Kleine-König
  0 siblings, 1 reply; 4+ messages in thread
From: trem @ 2009-04-19 15:09 UTC (permalink / raw)
  To: linux-rt-users

The argument -C isn't used in cyclictest, only --context is recognized.

Signed-off-by: trem <trem@mandriva.org>
---
diff --git a/src/cyclictest/cyclictest.c b/src/cyclictest/cyclictest.c
index f878217..e67d0d3 100644
--- a/src/cyclictest/cyclictest.c
+++ b/src/cyclictest/cyclictest.c
@@ -777,7 +777,7 @@ static void process_options (int argc, char *argv[])
                        {"help", no_argument, NULL, '?'},
                        {NULL, 0, NULL, 0}
                };
-               int c = getopt_long (argc, argv, "a::b:Bc:d:fh:i:Il:nNo:p:Pmqrst::vD:",
+               int c = getopt_long (argc, argv, "a::b:Bc:Cd:fh:i:Il:nNo:p:Pmqrst::vD:",
                        long_options, &option_index);
                if (c == -1)
                        break;


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

* Re: [PATCH] fix argument -C on cyclictest
  2009-04-19 15:09 [PATCH] fix argument -C on cyclictest trem
@ 2009-04-19 17:52 ` Uwe Kleine-König
  2009-04-20 14:14   ` GeunSik Lim
  0 siblings, 1 reply; 4+ messages in thread
From: Uwe Kleine-König @ 2009-04-19 17:52 UTC (permalink / raw)
  To: trem; +Cc: linux-rt-users

Hi,

On Sun, Apr 19, 2009 at 05:09:25PM +0200, trem wrote:
> The argument -C isn't used in cyclictest, only --context is recognized.
>
> Signed-off-by: trem <trem@mandriva.org>
> ---
> diff --git a/src/cyclictest/cyclictest.c b/src/cyclictest/cyclictest.c
> index f878217..e67d0d3 100644
> --- a/src/cyclictest/cyclictest.c
> +++ b/src/cyclictest/cyclictest.c
> @@ -777,7 +777,7 @@ static void process_options (int argc, char *argv[])
>                        {"help", no_argument, NULL, '?'},
>                        {NULL, 0, NULL, 0}
>                };
> -               int c = getopt_long (argc, argv, "a::b:Bc:d:fh:i:Il:nNo:p:Pmqrst::vD:",
> +               int c = getopt_long (argc, argv, "a::b:Bc:Cd:fh:i:Il:nNo:p:Pmqrst::vD:",
>                        long_options, &option_index);
After the commit log I would have expected that you remove C from the
options list.  I would suggest something like "make cyclictest accept -C
as documented.  This is the same as --context".

BTW, I just noticed that both -C and --context don't appear in the man
page.

Best regards
Uwe

-- 
Pengutronix e.K.                              | Uwe Kleine-König            |
Industrial Linux Solutions                    | http://www.pengutronix.de/  |
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH] fix argument -C on cyclictest
  2009-04-19 17:52 ` Uwe Kleine-König
@ 2009-04-20 14:14   ` GeunSik Lim
  2009-04-20 19:16     ` Clark Williams
  0 siblings, 1 reply; 4+ messages in thread
From: GeunSik Lim @ 2009-04-20 14:14 UTC (permalink / raw)
  To: Uwe Kleine-König; +Cc: trem, linux-rt-users

Hi Uwe Kleine-Konig

I already submited same issues.  for example, --context  and --event.
Is your patch proposal is different?

Refer to  http://marc.info/?l=linux-rt-users&m=123919858213957&w=2 webpage.


Regards,
GeunSik Lim.


2009/4/20 Uwe Kleine-König <u.kleine-koenig@pengutronix.de>:
> Hi,
>
> On Sun, Apr 19, 2009 at 05:09:25PM +0200, trem wrote:
>> The argument -C isn't used in cyclictest, only --context is recognized.
>>
>> Signed-off-by: trem <trem@mandriva.org>
>> ---
>> diff --git a/src/cyclictest/cyclictest.c b/src/cyclictest/cyclictest.c
>> index f878217..e67d0d3 100644
>> --- a/src/cyclictest/cyclictest.c
>> +++ b/src/cyclictest/cyclictest.c
>> @@ -777,7 +777,7 @@ static void process_options (int argc, char *argv[])
>>                        {"help", no_argument, NULL, '?'},
>>                        {NULL, 0, NULL, 0}
>>                };
>> -               int c = getopt_long (argc, argv, "a::b:Bc:d:fh:i:Il:nNo:p:Pmqrst::vD:",
>> +               int c = getopt_long (argc, argv, "a::b:Bc:Cd:fh:i:Il:nNo:p:Pmqrst::vD:",
>>                        long_options, &option_index);
> After the commit log I would have expected that you remove C from the
> options list.  I would suggest something like "make cyclictest accept -C
> as documented.  This is the same as --context".
>
> BTW, I just noticed that both -C and --context don't appear in the man
> page.
>
> Best regards
> Uwe
>
> --
> Pengutronix e.K.                              | Uwe Kleine-König            |
> Industrial Linux Solutions                    | http://www.pengutronix.de/  |
> --
> To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>



-- 
Regards,
GeunSik Lim
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH] fix argument -C on cyclictest
  2009-04-20 14:14   ` GeunSik Lim
@ 2009-04-20 19:16     ` Clark Williams
  0 siblings, 0 replies; 4+ messages in thread
From: Clark Williams @ 2009-04-20 19:16 UTC (permalink / raw)
  To: GeunSik Lim; +Cc: Uwe Kleine-König, trem, linux-rt-users

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 20 Apr 2009 23:14:27 +0900
GeunSik Lim <leemgs1@gmail.com> wrote:

> Hi Uwe Kleine-Konig
> 
> I already submited same issues.  for example, --context  and --event.
> Is your patch proposal is different?
> 
> Refer to  http://marc.info/?l=linux-rt-users&m=123919858213957&w=2 webpage.
> 
> 
> Regards,
> GeunSik Lim.
> 
> 

Thanks for the reminder; I just pushed rt-tests-0.36, which has the
- -C/-E patch and an updated man page for those two options (although
anyone that wants to submit a better description is more than welcome
to do so :)).

Clark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (GNU/Linux)

iEYEARECAAYFAknsyhIACgkQHyuj/+TTEp0kcwCfXk55nKOUY/9wTOEXcJpG4/AF
Ey0AoM6L2JpnVQmfm0X65PkXDf0DvYbZ
=X9mT
-----END PGP SIGNATURE-----

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

end of thread, other threads:[~2009-04-20 19:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-19 15:09 [PATCH] fix argument -C on cyclictest trem
2009-04-19 17:52 ` Uwe Kleine-König
2009-04-20 14:14   ` GeunSik Lim
2009-04-20 19:16     ` Clark Williams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).