From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Stancek Date: Mon, 18 Jul 2016 07:32:00 -0400 (EDT) Subject: [LTP] sendmsg01 failure In-Reply-To: References: Message-ID: <764436440.5908995.1468841520559.JavaMail.zimbra@redhat.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it ----- Original Message ----- > From: "nousi" > 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 >