All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Stancek <jstancek@redhat.com>
To: ltp@lists.linux.it
Subject: [LTP] sendmsg01 failure
Date: Mon, 18 Jul 2016 07:32:00 -0400 (EDT)	[thread overview]
Message-ID: <764436440.5908995.1468841520559.JavaMail.zimbra@redhat.com> (raw)
In-Reply-To: <CAJ5vXcT-k95n1DqmZjcPo=y+K=ZMb=MHwWNX7_P9pV9Rsh2s5g@mail.gmail.com>



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

  reply	other threads:[~2016-07-18 11:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-15 12:47 [LTP] sendmsg01 failure nousi
2016-07-18 11:32 ` Jan Stancek [this message]
2016-07-18 11:53   ` nousi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=764436440.5908995.1468841520559.JavaMail.zimbra@redhat.com \
    --to=jstancek@redhat.com \
    --cc=ltp@lists.linux.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.