On Mon, 2009-06-08 at 13:22 +0200, Jiri Palecek wrote: 
> The tests need to create the message queue themselves to specify the
>  creation attributes
> 
> Signed-off-by: Jiri Palecek <[email protected]>

Thanks.

Regards--
Subrata

> ---
>  testcases/kernel/syscalls/mq_open/mq_open01.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/testcases/kernel/syscalls/mq_open/mq_open01.c 
> b/testcases/kernel/syscalls/mq_open/mq_open01.c
> index 205de66..f9c2f08 100644
> --- a/testcases/kernel/syscalls/mq_open/mq_open01.c
> +++ b/testcases/kernel/syscalls/mq_open/mq_open01.c
> @@ -315,7 +315,7 @@ static int do_test(struct test_case *tc)
>           * Execute system call
>           */
> 
> -     if (tc->ttype != NO_SPACE) {
> +     if (tc->ttype != NO_SPACE && !(tc->oflag & O_CREAT)) {
>                  errno = 0;
>                  TEST(sys_ret = mq_open(QUEUE_NAME, O_CREAT|O_EXCL|O_RDWR, 
> S_IRWXU, NULL));
>                  sys_errno = errno;


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to