From 6a40d549f101031025ba0c79f171725c3d64ed2b Mon Sep 17 00:00:00 2001
From: Alex Brainman <alex.brainman@gmail.com>
Date: Mon, 21 Apr 2014 20:36:35 +1000
Subject: [PATCH] cmd/nm: disable TestNM on darwin, linux and solaris

Update #7829

LGTM=dave
R=golang-codereviews, dave
CC=golang-codereviews
https://golang.org/cl/89810043
---
 src/cmd/nm/nm_test.go | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/cmd/nm/nm_test.go b/src/cmd/nm/nm_test.go
index 761c5325f2..b2320bdf9f 100644
--- a/src/cmd/nm/nm_test.go
+++ b/src/cmd/nm/nm_test.go
@@ -19,6 +19,10 @@ import (
 var testData uint32
 
 func checkSymbols(t *testing.T, nmoutput []byte) {
+	switch runtime.GOOS {
+	case "linux", "darwin", "solaris":
+		t.Skip("skipping test; see http://golang.org/issue/7829")
+	}
 	var checkSymbolsFound, testDataFound bool
 	scanner := bufio.NewScanner(bytes.NewBuffer(nmoutput))
 	for scanner.Scan() {
-- 
2.30.9