go1.5: Fix Darwin build by disabling a broken test (close #12075)

TestNohup appears to work on Darwin if the test suite is running
attached to a terminal, but not when Nix runs it.
This commit is contained in:
Benjamin Staffin 2016-01-01 15:31:22 -08:00 committed by Vladimír Čunát
parent 8225e1b1c1
commit 212b83433d

View file

@ -77,6 +77,7 @@ stdenv.mkDerivation rec {
sed -i '/TestCgoLookupIP/areturn' src/net/cgo_unix_test.go
sed -i '/TestChdirAndGetwd/areturn' src/os/os_test.go
sed -i '/TestRead0/areturn' src/os/os_test.go
sed -i '/TestNohup/areturn' src/os/signal/signal_test.go
sed -i '/TestSystemRoots/areturn' src/crypto/x509/root_darwin_test.go
sed -i '/TestGoInstallRebuildsStalePackagesInOtherGOPATH/areturn' src/cmd/go/go_test.go