diff options
Diffstat (limited to 'nixpkgs/pkgs/development/compilers/go/creds-test.patch')
-rw-r--r-- | nixpkgs/pkgs/development/compilers/go/creds-test.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/compilers/go/creds-test.patch b/nixpkgs/pkgs/development/compilers/go/creds-test.patch new file mode 100644 index 000000000000..6a18e6cc42e8 --- /dev/null +++ b/nixpkgs/pkgs/development/compilers/go/creds-test.patch @@ -0,0 +1,13 @@ +--- source.org/src/syscall/creds_test.go 1970-01-01 01:00:01.000000000 +0100 ++++ source/src/syscall/creds_test.go 2018-02-22 10:43:47.223615358 +0000 +@@ -76,8 +76,8 @@ + if sys, ok := err.(*os.SyscallError); ok { + err = sys.Err + } +- if err != syscall.EPERM { +- t.Fatalf("WriteMsgUnix failed with %v, want EPERM", err) ++ if err != syscall.EPERM && err != syscall.EINVAL { ++ t.Fatalf("WriteMsgUnix failed with %v, want EPERM or EINVAL", err) + } + } + |