]> Cypherpunks repositories - gostls13.git/commit
cmd/go: skip TestBuildOutputToDevNull on Plan 9
authorDavid du Colombier <0intro@gmail.com>
Thu, 5 Nov 2015 09:20:32 +0000 (10:20 +0100)
committerDavid du Colombier <0intro@gmail.com>
Thu, 5 Nov 2015 22:57:16 +0000 (22:57 +0000)
commit6083bd65f7a8e621efe9b6381c040ffab7f8d189
tree798ce11db158b462c519dc3bd069dacb21f3a728
parent10c075376183a6c5d586df8e0f5e702ae9b99e84
cmd/go: skip TestBuildOutputToDevNull on Plan 9

TestBuildOutputToDevNull was added in CL 16585.
However, copying to /dev/null couldn't work on Plan 9,
because /dev/null is a regular file. Since it's not
different from any other file, the logic in copyFile
couldn't distinguish it from another, already existing,
file, that we wouldn't want to overwrite.

Change-Id: Ie8d353f318fedfc7cfb9541fed00a2397e232592
Reviewed-on: https://go-review.googlesource.com/16691
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: David du Colombier <0intro@gmail.com>
src/cmd/go/go_test.go