]> Cypherpunks repositories - gostls13.git/commitdiff
path/filepath: disable AbsTest on windows
authorRob Pike <r@golang.org>
Tue, 6 Mar 2012 21:14:12 +0000 (08:14 +1100)
committerRob Pike <r@golang.org>
Tue, 6 Mar 2012 21:14:12 +0000 (08:14 +1100)
SameFile has a bug.

R=golang-dev
TBR=rsc
CC=golang-dev
https://golang.org/cl/5754055

src/pkg/path/filepath/path_test.go

index ad053177f5376f40bbf75e41cc6c09b6b4648101..6bc631596ec264d0710b178341549ed4934c1aa7 100644 (file)
@@ -666,6 +666,10 @@ var absTests = []string{
 }
 
 func TestAbs(t *testing.T) {
+       if runtime.GOOS == "windows" {
+               t.Log("TestAbs disabled on windows")
+               return
+       }
        oldwd, err := os.Getwd()
        if err != nil {
                t.Fatal("Getwd failed: ", err)