We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eec9614 commit 39c476cCopy full SHA for 39c476c
src/pkg/archive/tar/tar_test.go
@@ -48,8 +48,8 @@ func TestFileInfoHeaderDir(t *testing.T) {
48
if g, e := h.Name, "testdata/"; g != e {
49
t.Errorf("Name = %q; want %q", g, e)
50
}
51
- const setsid = 02000 // see golang.org/issue/4867
52
- if g, e := h.Mode&^setsid, int64(fi.Mode().Perm())|c_ISDIR; g != e {
+ // Ignoring c_ISGID for golang.org/issue/4867
+ if g, e := h.Mode&^c_ISGID, int64(fi.Mode().Perm())|c_ISDIR; g != e {
53
t.Errorf("Mode = %#o; want %#o", g, e)
54
55
if g, e := h.Size, int64(0); g != e {
0 commit comments