test: ensure all failing tests exit nonzero.

Previously merely printing an error would cause the golden
file comparison (in 'bash run') to fail, but that is no longer
the case with the new run.go driver.

R=iant
CC=golang-dev
https://codereview.appspot.com/7310087
encoding/xml: fix htmlAutoClose and its generating script
Thanks Mitic? for reporting this.

R=golang-dev, rsc
CC=golang-dev
https://codereview.appspot.com/7308081
exp/ssa: omit Function's package name when printing intra-package references.

R=iant
CC=golang-dev
https://codereview.appspot.com/7307105
os: do not use hosts file for windows tests

Not everyone has the file (http://golang.org/issue/4723#c4).

Update issue 4723.

R=golang-dev, bradfitz
CC=golang-dev
https://codereview.appspot.com/7311091
go/types: print, println accept 0 or more arguments

R=adonovan
CC=golang-dev
https://codereview.appspot.com/7304089
exp/ssa: add Instruction.Operands and Value.Referrers methods.

Operands returns the SSA values used by an instruction.
Referrers returns the SSA instructions that use a value, for
some values.  These will be used for SSA renaming, to follow.

R=iant, gri
CC=golang-dev
https://codereview.appspot.com/7312090
net: change server_test.go so we could see failure messages

R=golang-dev, dave
CC=golang-dev
https://codereview.appspot.com/7323051
doc: adjust indentation in Effective Go commentary example.

R=golang-dev, adg
CC=golang-dev
https://codereview.appspot.com/7225080
archive/tar: append a slash when deriving header info from a directory

This behavior is identical to GNU tar 1.26.

R=dsymonds, dave
CC=golang-dev
https://codereview.appspot.com/7307101

Committer: David Symonds <dsymonds@golang.org>
runtime: instrument slicebytetostring for race detection

R=golang-dev, iant
CC=golang-dev
https://codereview.appspot.com/7322068
go/types: adjust gcimporter to actual gc export data

Unexported field and method names that appear in the
export data (as part of some exported type) are fully
qualified with a package id (path). In some cases, a
package with that id was never exported for any other
use (i.e. only the path is of interest).

We must not create a "real" package in those cases
because we don't have a package name. Entering an
unnamed package into the map of imported packages
makes that package accessible for other imports.
Such a subsequent import may find the unnamed
package in the map, and reuse it. That reused and
imported package is then entered into the importing
file scope, still w/o a name. References to that
package cannot resolved after that. Was bug.

R=adonovan
CC=golang-dev
https://codereview.appspot.com/7307112
database/sql: add currently-disabled broken test

Update issue 3865

R=golang-dev, alex.brainman, nightlyone
CC=golang-dev
https://codereview.appspot.com/7324051
cmd/5l: fix print format

R=golang-dev, dave
CC=golang-dev
https://codereview.appspot.com/7304065

Committer: Russ Cox <rsc@golang.org>
io: document and test new CopyN return behavior

Changed accidentally in 28966b7b2f0c (CopyN using Copy).
Updating docs to be consistent with 29bf5ff5064e (ReadFull & ReadAtLeast)

R=rsc
CC=golang-dev
https://codereview.appspot.com/7314069
net: add test for Dial and Listen arguments

R=dave, bradfitz
CC=golang-dev
https://codereview.appspot.com/7305081
net: remove noisy test for issue 3590

The test for issue 3590 causes an error to be printed to stderr when run (although the error is obscured during go test std). This is confusing for people who get breakage in the net package as the error is harmless and most likely unrelated to their build breakage.

Given the way the test works, by reaching into the guts of the netFD, I can't see a way to silence the error without adding a bunch of code to support the test, therefore I am suggesting the test be removed before Go 1.1 ships.

R=alex.brainman, mikioh.mikioh, rsc
CC=golang-dev
https://codereview.appspot.com/7307110
database/sql: Add an optional Queryer-Interface (like Execer)

Completly the same like the Execer-Interface, just for Queries.
This allows Drivers to execute Queries without preparing them first

R=golang-dev, bradfitz
CC=golang-dev
https://codereview.appspot.com/7085056

Committer: Brad Fitzpatrick <bradfitz@golang.org>
cmd/8c: disable use of prefetch with GO386=387

Fixes issue 4798.

R=ken2
CC=golang-dev
https://codereview.appspot.com/7323061
net/http: test that we preserve Go 1.0 Request.Write Host behavior

Fixes issue 4792

R=golang-dev, rsc
CC=golang-dev
https://codereview.appspot.com/7314093
database/sql: fix doc references to old package name

It used to be package "db" but was long ago renamed
to be "sql".

R=golang-dev, rsc
CC=golang-dev
https://codereview.appspot.com/7322075