about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/compilers/go/remove-fhs-test-references.patch
blob: 1ea7f85d529076ffe66096ced5f80c5e75b057f7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/cmd/vendor/golang.org/x/sys/unix/syscall_unix_test.go b/src/cmd/vendor/golang.org/x/sys/unix/syscall_unix_test.go
index d694990..87fa259 100644
--- a/src/cmd/vendor/golang.org/x/sys/unix/syscall_unix_test.go
+++ b/src/cmd/vendor/golang.org/x/sys/unix/syscall_unix_test.go
@@ -452,7 +452,7 @@ func TestGetwd(t *testing.T) {
 	defer fd.Close()
 	// These are chosen carefully not to be symlinks on a Mac
 	// (unlike, say, /var, /etc)
-	dirs := []string{"/", "/usr/bin"}
+	dirs := []string{"/"}
 	switch runtime.GOOS {
 	case "android":
 		dirs = []string{"/", "/system/bin"}