Summary: | net-misc/socat fails tests | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | Gentoo Netmon project <netmon> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | phajdan.jr, powerman-asdf |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 294586 | ||
Bug Blocks: | |||
Attachments: | Build log |
Description
Diego Elio Pettenò (RETIRED)
2009-07-08 21:19:02 UTC
Created attachment 197261 [details]
Build log
Upstream states: "please note that the purpose of these tests is to check the integrity of the socat program, not of its environment - so do not overestimate their significance. I am pretty sure that socat itself is working correctly (at least "as designed")." So I'm not sure what to do in such situation. I'd suggest checking, on Linux kernel, if the ipv6 and sctp support is enabled in the kernel, and if not skip over tests. Well, this what we should check but last time I've tried to fix testsuite I remember there was some strange bug due to difference in bash versions on my and upstream systems... But let's keep this bug open and thank you for report. Compare bug #270855 comment #6. These tests are OK to fail. They could be improved to not fail when the OS lacks some features. That requires a fairly large patch, and in the mean time the test suite is verbose enough for any user to figure out whether a failure is really important. We could of course set (In reply to comment #5) > We could of course set ... something like this: Index: socat-1.7.1.1.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/net-misc/socat/socat-1.7.1.1.ebuild,v retrieving revision 1.8 diff -u -B -r1.8 socat-1.7.1.1.ebuild --- socat-1.7.1.1.ebuild 22 Jun 2009 16:19:30 -0000 1.8 +++ socat-1.7.1.1.ebuild 9 Jul 2009 21:21:22 -0000 @@ -34,7 +34,7 @@ } src_test() { - TMPDIR="${T}" emake test || die 'self test failed' + TMPDIR="${T}" emake test || ewarn "emake test failed" } src_install() { *** Bug 294586 has been marked as a duplicate of this bug. *** *** Bug 505324 has been marked as a duplicate of this bug. *** RESTRICT=test is in place in 1.7.2.4-r1 and 2.0.0_beta7-r1. |