]> Cypherpunks repositories - gostls13.git/commitdiff
test: delete bugs directory
authorJosh Bleecher Snyder <josharian@gmail.com>
Mon, 24 Oct 2016 22:56:48 +0000 (15:56 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Tue, 25 Oct 2016 00:17:57 +0000 (00:17 +0000)
It appears to be a vestigial holding ground for bugs.
But we have an issue tracker, and #1909 is there and open.

Change-Id: I912ff222a24c51fab483be0c67dad534f5a84488
Reviewed-on: https://go-review.googlesource.com/31859
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/path/filepath/path_test.go
test/bugs/bug395.go [deleted file]
test/bugs/placeholder [deleted file]
test/run.go

index e319e3c9733357864fd01f566927fe52303ae91e..94f9c014598f4ccced1c63543110f69c411a67e0 100644 (file)
@@ -1295,7 +1295,7 @@ func TestBug3486(t *testing.T) { // https://golang.org/issue/3486
        if err != nil {
                t.Fatal(err)
        }
-       bugs := filepath.Join(root, "bugs")
+       bugs := filepath.Join(root, "fixedbugs")
        ken := filepath.Join(root, "ken")
        seenBugs := false
        seenKen := false
@@ -1310,7 +1310,7 @@ func TestBug3486(t *testing.T) { // https://golang.org/issue/3486
                        return filepath.SkipDir
                case ken:
                        if !seenBugs {
-                               t.Fatal("filepath.Walk out of order - ken before bugs")
+                               t.Fatal("filepath.Walk out of order - ken before fixedbugs")
                        }
                        seenKen = true
                }
diff --git a/test/bugs/bug395.go b/test/bugs/bug395.go
deleted file mode 100644 (file)
index 4fe81e0..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-// skip
-
-// When issue 1909 is fixed, change from skip to compile.
-
-// Copyright 2011 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// Issue 1909
-// Would OOM due to exponential recursion on Foo's expanded methodset in nodefmt
-
-package test
-
-type Foo interface {
-       Bar() interface {
-               Foo
-       }
-       Baz() interface {
-               Foo
-       }
-       Bug() interface {
-               Foo
-       }
-}
diff --git a/test/bugs/placeholder b/test/bugs/placeholder
deleted file mode 100644 (file)
index b816d34..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-This file keeps Mercurial from deleting the directory
-when there are no known bugs.
index 07eff4ddb9cb50fdf3360aecf84115b39559d093..0dee6b5caab41a96fde48b1a75ac4bef1f53ecbe 100644 (file)
@@ -52,7 +52,7 @@ var (
 
        // dirs are the directories to look for *.go files in.
        // TODO(bradfitz): just use all directories?
-       dirs = []string{".", "ken", "chan", "interface", "syntax", "dwarf", "fixedbugs", "bugs"}
+       dirs = []string{".", "ken", "chan", "interface", "syntax", "dwarf", "fixedbugs"}
 
        // ratec controls the max number of tests running at a time.
        ratec chan bool