Could anyone help to review this?

Thanks,
Zeng

On Thu, 2013-12-12 at 18:27 +0800, zenglg.jy wrote:
> add new test for getrlimit(2):
> RLIMIT_MSGQUEUE
> RLIMIT_NICE
> RLIMIT_RTPRIO
> RLIMIT_RTTIME
> RLIMIT_SIGPENDING
> 
> Signed-off-by: Zeng Linggang <[email protected]>
> ---
>  testcases/kernel/syscalls/getrlimit/getrlimit01.c | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/testcases/kernel/syscalls/getrlimit/getrlimit01.c 
> b/testcases/kernel/syscalls/getrlimit/getrlimit01.c
> index f397a19..369ee05 100644
> --- a/testcases/kernel/syscalls/getrlimit/getrlimit01.c
> +++ b/testcases/kernel/syscalls/getrlimit/getrlimit01.c
> @@ -47,6 +47,13 @@ static struct test_t {
>       {RLIMIT_MEMLOCK, "RLIMIT_MEMLOCK"},
>       {RLIMIT_AS, "RLIMIT_AS"},
>       {RLIMIT_LOCKS, "RLIMIT_LOCKS"},
> +     {RLIMIT_MSGQUEUE, "RLIMIT_MSGQUEUE"},
> +     {RLIMIT_NICE, "RLIMIT_NICE"},
> +     {RLIMIT_RTPRIO, "RLIMIT_RTPRIO"},
> +     {RLIMIT_SIGPENDING, "RLIMIT_SIGPENDING"},
> +#ifdef RLIMIT_RTTIME
> +     {RLIMIT_RTTIME, "RLIMIT_RTTIME"},
> +#endif
>  };
>  
>  char *TCID = "getrlimit01";



------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to