author | Michael Hudson-Doyle
<michael.hudson@canonical.com> 2016-06-26 22:23:32 UTC |
committer | Michael Hudson-Doyle
<michael.hudson@canonical.com> 2016-06-27 22:15:07 UTC |
parent | e445b19913b9d40fdbdfe19ac5e3d314aafd6f63 |
webdav/file_test.go | +3 | -0 |
diff --git a/webdav/file_test.go b/webdav/file_test.go index 7ce6c12..cbd0240 100644 --- a/webdav/file_test.go +++ b/webdav/file_test.go @@ -786,6 +786,9 @@ func TestMemFile(t *testing.T) { // memFile doesn't allocate a new buffer for each of those N times. Otherwise, // calling io.Copy(aMemFile, src) is likely to have quadratic complexity. func TestMemFileWriteAllocs(t *testing.T) { + if runtime.Compiler == "gccgo" { + t.Skip("gccgo allocates here") + } fs := NewMemFS() f, err := fs.OpenFile("/xxx", os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0666) if err != nil {