[LTP] sendmsg01 failure

Jan Stancek jstancek@redhat.com
Mon Jul 18 13:32:00 CEST 2016



----- 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
> 


More information about the ltp mailing list