Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(8)

Delta Between Two Patch Sets: unix/creds_test.go

Issue 126960043: code review 126960043: go.sys: copy files from syscall package to go.sys/{plan... (Closed)
Left Patch Set: Created 10 years, 7 months ago
Right Patch Set: diff -r 89b705e036f489a14b4d11c6e025ea61a53bb735 https://code.google.com/p/go.sys Created 10 years, 7 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « unix/bpf_bsd.go ('k') | unix/env_unix.go » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(Both sides are equal)
1 // Copyright 2012 The Go Authors. All rights reserved. 1 // Copyright 2012 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style 2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file. 3 // license that can be found in the LICENSE file.
4 4
5 // +build linux 5 // +build linux
6 6
7 package syscall_test 7 package syscall_test
8 8
9 import ( 9 import (
10 "bytes" 10 "bytes"
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 t.Fatalf("ParseSocketControlMessage: %v", err) 104 t.Fatalf("ParseSocketControlMessage: %v", err)
105 } 105 }
106 newUcred, err := syscall.ParseUnixCredentials(&scm[0]) 106 newUcred, err := syscall.ParseUnixCredentials(&scm[0])
107 if err != nil { 107 if err != nil {
108 t.Fatalf("ParseUnixCredentials: %v", err) 108 t.Fatalf("ParseUnixCredentials: %v", err)
109 } 109 }
110 if *newUcred != ucred { 110 if *newUcred != ucred {
111 t.Fatalf("ParseUnixCredentials = %+v, want %+v", newUcred, ucred ) 111 t.Fatalf("ParseUnixCredentials = %+v, want %+v", newUcred, ucred )
112 } 112 }
113 } 113 }
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b