aboutsummaryrefslogtreecommitdiff
path: root/src/os/exec
diff options
context:
space:
mode:
authorMikio Hara <mikioh.mikioh@gmail.com>2014-09-18 19:17:55 +0900
committerMikio Hara <mikioh.mikioh@gmail.com>2014-09-18 19:17:55 +0900
commit484cc6715192efd4bfea57647eeb66c93aecfb0c (patch)
tree4601fd4ed52d2e3aef2f96da25531c6744478b4e /src/os/exec
parent8c2484ec11d27324423e3cf27cc9ac6b34394c7d (diff)
downloadgo-484cc6715192efd4bfea57647eeb66c93aecfb0c.tar.xz
net: separate NaCl dependent placeholders from BSD's
To clarify the dependency of NaCl platform. LGTM=adg R=golang-codereviews, adg CC=golang-codereviews https://golang.org/cl/143830044
Diffstat (limited to 'src/os/exec')
-rw-r--r--src/os/exec/exec_test.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/os/exec/exec_test.go b/src/os/exec/exec_test.go
index 6f77ac38ae..5fd439b8bb 100644
--- a/src/os/exec/exec_test.go
+++ b/src/os/exec/exec_test.go
@@ -383,8 +383,9 @@ func TestExtraFilesFDShuffle(t *testing.T) {
}
func TestExtraFiles(t *testing.T) {
- if runtime.GOOS == "windows" {
- t.Skip("no operating system support; skipping")
+ switch runtime.GOOS {
+ case "nacl", "windows":
+ t.Skipf("skipping test on %q", runtime.GOOS)
}
// Ensure that file descriptors have not already been leaked into