All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] sendmsg01 failure
@ 2016-07-15 12:47 nousi
  2016-07-18 11:32 ` Jan Stancek
  0 siblings, 1 reply; 3+ messages in thread
From: nousi @ 2016-07-15 12:47 UTC (permalink / raw)
  To: ltp

Hi,

what could be the reason for the below the error?
Please let me know if I need to enable something in the kernel.

*sendmsg01   13  TFAIL  :  sendmsg01.c:437: invalid flags set w/ control ;
returned -1 (expected -1), errno 22 (expected 95)*

root@nousi:/opt/ltp# ./testcases/bin/sendmsg01
sendmsg01    1  TPASS  :  bad file descriptor successful
sendmsg01    2  TPASS  :  invalid socket successful
sendmsg01    3  TPASS  :  invalid send buffer successful
sendmsg01    4  TPASS  :  connected TCP successful
sendmsg01    5  TPASS  :  not connected TCP successful
sendmsg01    6  TPASS  :  invalid to buffer length successful
sendmsg01    7  TPASS  :  invalid to buffer successful
sendmsg01    8  TPASS  :  UDP message too big successful
sendmsg01    9  TPASS  :  local endpoint shutdown successful
sendmsg01   10  TPASS  :  invalid iovec pointer successful
sendmsg01   11  TPASS  :  invalid msghdr pointer successful
sendmsg01   12  TPASS  :  rights passing successful
*sendmsg01   13  TFAIL  :  sendmsg01.c:437: invalid flags set w/ control ;
returned -1 (expected -1), errno 22 (expected 95)*
sendmsg01   14  TPASS  :  invalid flags set successful
sendmsg01   15  TPASS  :  invalid cmsg length successful
sendmsg01   16  TPASS  :  invalid cmsg pointer successful

-- 


*Thanks & Regards,B.Nousilal,*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20160715/049c52fe/attachment.html>

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

* [LTP] sendmsg01 failure
  2016-07-15 12:47 [LTP] sendmsg01 failure nousi
@ 2016-07-18 11:32 ` Jan Stancek
  2016-07-18 11:53   ` nousi
  0 siblings, 1 reply; 3+ messages in thread
From: Jan Stancek @ 2016-07-18 11:32 UTC (permalink / raw)
  To: ltp



----- Original Message -----
> From: "nousi" <bnousilal@gmail.com>
> To: ltp@lists.linux.it
> Sent: Friday, 15 July, 2016 2:47:36 PM
> Subject: [LTP] sendmsg01 failure
> 
> Hi,
> 
> what could be the reason for the below the error?
> Please let me know if I need to enable something in the kernel.
> 
> sendmsg01 13 TFAIL : sendmsg01.c:437: invalid flags set w/ control ; returned
> -1 (expected -1), errno 22 (expected 95)

That specific flag combination has been removed from test in February:
  https://github.com/linux-test-project/ltp/commit/44861ca152cbe5ffff890e055a304d3b74f8bf21

In future it would be handy to include your LTP version, kernel version,
architecture and distro you are running.

Regards,
Jan

> 
> root@nousi:/opt/ltp# ./testcases/bin/sendmsg01
> sendmsg01 1 TPASS : bad file descriptor successful
> sendmsg01 2 TPASS : invalid socket successful
> sendmsg01 3 TPASS : invalid send buffer successful
> sendmsg01 4 TPASS : connected TCP successful
> sendmsg01 5 TPASS : not connected TCP successful
> sendmsg01 6 TPASS : invalid to buffer length successful
> sendmsg01 7 TPASS : invalid to buffer successful
> sendmsg01 8 TPASS : UDP message too big successful
> sendmsg01 9 TPASS : local endpoint shutdown successful
> sendmsg01 10 TPASS : invalid iovec pointer successful
> sendmsg01 11 TPASS : invalid msghdr pointer successful
> sendmsg01 12 TPASS : rights passing successful
> sendmsg01 13 TFAIL : sendmsg01.c:437: invalid flags set w/ control ; returned
> -1 (expected -1), errno 22 (expected 95)
> sendmsg01 14 TPASS : invalid flags set successful
> sendmsg01 15 TPASS : invalid cmsg length successful
> sendmsg01 16 TPASS : invalid cmsg pointer successful
> 
> --
> Thanks & Regards,
> B.Nousilal,
> 
> 
> 
> --
> Mailing list info: https://lists.linux.it/listinfo/ltp
> 

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

* [LTP] sendmsg01 failure
  2016-07-18 11:32 ` Jan Stancek
@ 2016-07-18 11:53   ` nousi
  0 siblings, 0 replies; 3+ messages in thread
From: nousi @ 2016-07-18 11:53 UTC (permalink / raw)
  To: ltp

Hi All,

Please, have a look at the versions below.
Please, let me know if you need any further information.

Kernel: Linux 3.14.65
Archtecture: aarch64 GNU/Linux
LTP version : 20150119


On Mon, Jul 18, 2016 at 5:02 PM, Jan Stancek <jstancek@redhat.com> wrote:

>
>
> ----- Original Message -----
> > From: "nousi" <bnousilal@gmail.com>
> > To: ltp@lists.linux.it
> > Sent: Friday, 15 July, 2016 2:47:36 PM
> > Subject: [LTP] sendmsg01 failure
> >
> > Hi,
> >
> > what could be the reason for the below the error?
> > Please let me know if I need to enable something in the kernel.
> >
> > sendmsg01 13 TFAIL : sendmsg01.c:437: invalid flags set w/ control ;
> returned
> > -1 (expected -1), errno 22 (expected 95)
>
> That specific flag combination has been removed from test in February:
>
> https://github.com/linux-test-project/ltp/commit/44861ca152cbe5ffff890e055a304d3b74f8bf21
>
> In future it would be handy to include your LTP version, kernel version,
> architecture and distro you are running.
>
> Regards,
> Jan
>
> >
> > root@nousi:/opt/ltp# ./testcases/bin/sendmsg01
> > sendmsg01 1 TPASS : bad file descriptor successful
> > sendmsg01 2 TPASS : invalid socket successful
> > sendmsg01 3 TPASS : invalid send buffer successful
> > sendmsg01 4 TPASS : connected TCP successful
> > sendmsg01 5 TPASS : not connected TCP successful
> > sendmsg01 6 TPASS : invalid to buffer length successful
> > sendmsg01 7 TPASS : invalid to buffer successful
> > sendmsg01 8 TPASS : UDP message too big successful
> > sendmsg01 9 TPASS : local endpoint shutdown successful
> > sendmsg01 10 TPASS : invalid iovec pointer successful
> > sendmsg01 11 TPASS : invalid msghdr pointer successful
> > sendmsg01 12 TPASS : rights passing successful
> > sendmsg01 13 TFAIL : sendmsg01.c:437: invalid flags set w/ control ;
> returned
> > -1 (expected -1), errno 22 (expected 95)
> > sendmsg01 14 TPASS : invalid flags set successful
> > sendmsg01 15 TPASS : invalid cmsg length successful
> > sendmsg01 16 TPASS : invalid cmsg pointer successful
> >
> > --
> > Thanks & Regards,
> > B.Nousilal,
> >
> >
> >
> > --
> > Mailing list info: https://lists.linux.it/listinfo/ltp
> >
>



-- 


*Thanks & Regards,B.Nousilal,*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20160718/eb4c445f/attachment.html>

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

end of thread, other threads:[~2016-07-18 11:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-15 12:47 [LTP] sendmsg01 failure nousi
2016-07-18 11:32 ` Jan Stancek
2016-07-18 11:53   ` nousi

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.