All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yang Xu <xuyang2018.jy@cn.fujitsu.com>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH] Add test for send(MSG_MORE)
Date: Mon, 12 Oct 2020 15:22:19 +0800	[thread overview]
Message-ID: <5F84042B.9000505@cn.fujitsu.com> (raw)
In-Reply-To: <20200903155030.GA23664@dell5510>

Hi Martin, Peter
> Hi Martin,
>
>> The setsockopt05 test will not work properly if kernel handles the MSG_MORE
>> flag incorrectly. Add a new test to detect broken test environment.
>
> Thanks for your patch, merged.
I test this case on centos8.2, it failed, but it passed on centos7.8 and 
fedora31. On upstream kernel (5.9-rc7+,commit 6f2f486d57c4,using kvm,4G 
memory,2 cpus), it also failed. I don't know whether it has some kernel 
parameters or kconfig to affect this. It seems not a kernel bug and like 
a environment bug(I guess).

tst_test.c:1250: TINFO: Timeout per run is 0h 05m 00s
send02.c:86: TFAIL: recv() error: EAGAIN/EWOULDBLOCK (11)
send02.c:86: TFAIL: recv() error: EAGAIN/EWOULDBLOCK (11)
send02.c:86: TFAIL: recv() error: EAGAIN/EWOULDBLOCK (11)
send02.c:86: TFAIL: recv() error: EAGAIN/EWOULDBLOCK (11)


Best Regards
Yang  Xu
>
> Kind regards,
> Petr
>




  reply	other threads:[~2020-10-12  7:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-28 15:17 [LTP] [PATCH] Add test for send(MSG_MORE) Martin Doucha
2020-09-03 15:50 ` Petr Vorel
2020-10-12  7:22   ` Yang Xu [this message]
2020-10-14 13:47     ` Martin Doucha
2020-10-14 14:35       ` Yang Xu

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=5F84042B.9000505@cn.fujitsu.com \
    --to=xuyang2018.jy@cn.fujitsu.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.