<pre class="notranslate">expvar$ go test -cpu=1,2
2012/06/08 23:38:31 Reuse of exported var name: requests
panic: Reuse of exported var name: requests
 [recovered]
    panic: Reuse of exported var name: requests

parser$ go test -cpu=1,2
panic: testdata/commas.src used multiple times [recovered]
    panic: testdata/commas.src used multiple times

exp/locale/collate/build$ go test -cpu=1,2
--- FAIL: TestConvertLarge-2 (0.00 seconds)
    builder_test.go:83: 1: unexpected error: found primary weight 4F4F2; should be &lt;= 0xFFFF
    builder_test.go:86: 1: conversion was [[4f4f2 20 2 2f9b2] [f9b2 0 0 2f9b2]]; want [[4f4f2 20 2 2f9b2]]
    builder_test.go:83: 4: unexpected error: found primary weight 15FB3F; should be &lt;= 0xFFFF
    builder_test.go:83: 5: unexpected error: found primary weight 15FB40; should be &lt;= 0xFFFF

flag$ go test -cpu=1,2
--- FAIL: TestEverything-2 (0.00 seconds)
    flag_test.go:58: VisitAll misses some flags
    flag_test.go:83: Visit fails after set

net/http$ go test -cpu=1,2

--- FAIL: TestResponseWrite-2 (0.00 seconds)
    responsewrite_test.go:100: error writing #0: http: Request.ContentLength=6 with Body length 0
    responsewrite_test.go:105: Test 1, expecting:
        "HTTP/1.0 200 OK\r\n\r\nabcdef"
        Got:
        "HTTP/1.0 200 OK\r\n\r\n"
    responsewrite_test.go:105: Test 2, expecting:
        "HTTP/1.1 200 OK\r\nConnection: close\r\nTransfer-Encoding: chunked\r\n\r\n6\r\nabcdef\r\n0\r\n\r\n"
        Got:
        "HTTP/1.1 200 OK\r\nConnection: close\r\nTransfer-Encoding: chunked\r\n\r\n0\r\n\r\n"
panic: http: multiple registrations for / [recovered]
    panic: http: multiple registrations for /

net/smtp$ go test -cpu=1,2
--- FAIL: TestBasic-2 (0.00 seconds)
    smtp_test.go:92: Expected AUTH supported</pre>
<p dir="auto">Unlink Linux, BSD variants may change their kernel ABIs between major releases as reported in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="51287300" data-permission-text="Title is private" data-url="https://github.com/golang/go/issues/7849" data-hovercard-type="issue" data-hovercard-url="/golang/go/issues/7849/hovercard" href="https://github.com/golang/go/issues/7849">#7849</a>. To follow the circumstances with minimal maintenance cost, I'd like to propose having an internal package that provides routing message/socket parsers.</p>
<p dir="auto">Exposed APIs:</p>
<ul dir="auto">
<li>ABI agnostic routing message/socket types</li>
<li>Routing message/socket parsers</li>
<li>Destination address prefix lookup for helping address selection in net.Dialer</li>
</ul>
<p dir="auto">It's also fine vendoring "internal/x/golang.org/x/net/internal/route " if possible.</p>