summaryrefslogtreecommitdiff
path: root/src/os
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
commitf96d407095d149b2ba930e4d91ba37e19377e8e3 (patch)
tree4380732a7448ca942a17db96d331186fa5c1d02f /src/os
parent84a8160421233e23fd32dd10742b32e0e23f8267 (diff)
downloadgo-f96d407095d149b2ba930e4d91ba37e19377e8e3.tar.gz
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://codereview.appspot.com/143830044
Diffstat (limited to 'src/os')
-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 6f77ac38a..5fd439b8b 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