[Lsb-messages] /var/www/bzr/lsb/4.1/runtime-test r1274: Backport bug 3661 fix from devel (send, sendto vs EPIPE)
Stew Benedict
stewb at linux-foundation.org
Thu Feb 7 15:44:23 UTC 2013
------------------------------------------------------------
revno: 1274
committer: Stew Benedict <stewb at linux-foundation.org>
branch nick: runtime-test
timestamp: Thu 2013-02-07 10:44:23 -0500
message:
Backport bug 3661 fix from devel (send, sendto vs EPIPE)
modified:
modules/lsb-os/tset/LSB.os/network/send/send.c
modules/lsb-os/tset/LSB.os/network/sendto/sendto.c
scripts/package/Makefile
-------------- next part --------------
=== modified file 'modules/lsb-os/tset/LSB.os/network/send/send.c'
--- a/modules/lsb-os/tset/LSB.os/network/send/send.c 2008-04-03 17:37:17 +0000
+++ b/modules/lsb-os/tset/LSB.os/network/send/send.c 2013-02-07 15:44:23 +0000
@@ -427,8 +427,8 @@
n=send(sockfd,"Test Hello",strlen("Test Hello"),-1);
err=errno;
- if(err!=EPIPE) {
- tet_printf("send failed by returning %s instead of EPIPE",strerror(err));
+ if(err!=EPIPE && err!=EOPNOTSUPP) {
+ tet_printf("send failed by returning %s instead of EPIPE or EOPNOTSUPP",strerror(err));
tet_result(TET_FAIL);
return;
}
=== modified file 'modules/lsb-os/tset/LSB.os/network/sendto/sendto.c'
--- a/modules/lsb-os/tset/LSB.os/network/sendto/sendto.c 2010-11-29 17:13:12 +0000
+++ b/modules/lsb-os/tset/LSB.os/network/sendto/sendto.c 2013-02-07 15:44:23 +0000
@@ -513,8 +513,8 @@
n=sendto(sockfd,"Test Hello",strlen("Test Hello"),-1,NULL,0);
err=errno;
- if(err!=EPIPE) {
- tet_printf("sendto failed by returning %s instead of EPIPE",strerror(err));
+ if(err!=EPIPE && err!=EOPNOTSUPP) {
+ tet_printf("sendto failed by returning %s instead of EPIPE or EOPNOTSUPP",strerror(err));
test_fail = 1;
}
=== modified file 'scripts/package/Makefile'
--- a/scripts/package/Makefile 2012-06-10 15:15:37 +0000
+++ b/scripts/package/Makefile 2013-02-07 15:44:23 +0000
@@ -1,7 +1,7 @@
# values used to populate .spec from .spec.sed
PACKAGE=lsb-test-core
-VERSION=4.1.12
-RELEASE=2
+VERSION=4.1.13
+RELEASE=1
# PAM Version
PVERSION=0.99.8.1
SYSLOGVER=1.4.2rh
More information about the lsb-messages
mailing list