[LTP] [PATCH] Add test for send(MSG_MORE)

Yang Xu xuyang2018.jy@cn.fujitsu.com
Mon Oct 12 09:22:19 CEST 2020


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
>





More information about the ltp mailing list