Hi!
> Looks to be the same reason as sendto().
> I'm thinking we can either remove that test or change it to UDP:
>
> diff --git a/testcases/kernel/syscalls/sendto/sendto01.c
> b/testcases/kernel/syscalls/sendto/sendto01.c
> index ad64c70..c8dd9bd 100644
> --- a/testcases/kernel/syscalls/sendto/sendto01.c
> +++ b/testcases/kernel/syscalls/sendto/sendto01.c
> @@ -126,8 +126,8 @@ struct test_case_t { /* test case
> structure */
> sizeof(sin1), -1, EPIPE, setup2, cleanup1,
> "local endpoint shutdown"}
> , {
> - PF_INET, SOCK_STREAM, 0, buf, sizeof(buf), -1, &sin1,
> - sizeof(sin1), 0, EPIPE, setup1, cleanup1,
> + PF_INET, SOCK_DGRAM, 0, buf, sizeof(buf), -1, &sin1,
> + sizeof(sin1), -1, EOPNOTSUPP, setup1, cleanup1,
> "invalid flags set"}
> };
The usuall concensus for such case is to change expected return values
depending on the kernel version (see for example tst_kvercmp() in
testcases/kernel/syscalls/sysctl/sysctl03.c). Which is the best solution
I can come up with.
On the other hand we don't bother to work with rc kernels they change
far to often.
Does this behave same on released linux 3.6?
--
Cyril Hrubis
[email protected]
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list