From: Rob Pike Date: Tue, 6 Mar 2012 21:14:12 +0000 (+1100) Subject: path/filepath: disable AbsTest on windows X-Git-Tag: weekly.2012-03-13~178 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=aeefe0fa6e667c3c9c26d6fc9dd8c7b3281d51ac;p=gostls13.git path/filepath: disable AbsTest on windows SameFile has a bug. R=golang-dev TBR=rsc CC=golang-dev https://golang.org/cl/5754055 --- diff --git a/src/pkg/path/filepath/path_test.go b/src/pkg/path/filepath/path_test.go index ad053177f5..6bc631596e 100644 --- a/src/pkg/path/filepath/path_test.go +++ b/src/pkg/path/filepath/path_test.go @@ -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)