public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Petr Vorel <pvorel@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH] syscalls/sendmmsg: add new test
Date: Thu, 21 Mar 2019 00:04:22 +0100	[thread overview]
Message-ID: <20190320230422.GA9453@dell5510> (raw)
In-Reply-To: <20190320021618.36043-1-smuckle@google.com>

Hi Steve,

> Test basic functionality of sendmmsg and recvmmsg.
...

> +	retval = sendmmsg(send_sockfd, msg, 2, 0);
Unfortunately we need to have autotools check for sendmmsg() [1]
to fix failure on old distros
/usr/src/ltp/testcases/kernel/syscalls/sendmmsg/sendmmsg01.c   -lltp -o sendmmsg01
/usr/src/ltp/testcases/kernel/syscalls/sendmmsg/sendmmsg01.c: In function 'sender_thread':
/usr/src/ltp/testcases/kernel/syscalls/sendmmsg/sendmmsg01.c:53: warning: implicit declaration of function 'sendmmsg'
/tmp/ccqXXRS6.o: In function `sender_thread':
/usr/src/ltp/testcases/kernel/syscalls/sendmmsg/sendmmsg01.c:53: undefined reference to `sendmmsg'

> +	if (retval < 0)
> +		tst_brk(TFAIL|TTERRNO, "sendmmsg failed");
> +
> +	return NULL;
> +}


Kind regards,
Petr

[1] https://api.travis-ci.org/v3/job/509170474/log.txt

  parent reply	other threads:[~2019-03-20 23:04 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-20  2:16 [LTP] [PATCH] syscalls/sendmmsg: add new test Steve Muckle
2019-03-20 22:22 ` Petr Vorel
2019-03-20 23:04 ` Petr Vorel [this message]
2019-03-20 23:57   ` Steve Muckle
  -- strict thread matches above, loose matches on Subject: below --
2019-07-25 21:11 Steve Muckle
2019-07-29  8:56 ` Petr Vorel
2019-07-29  9:01   ` Cyril Hrubis
2019-07-29  9:31     ` Petr Vorel

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=20190320230422.GA9453@dell5510 \
    --to=pvorel@suse.cz \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox