From aeefe0fa6e667c3c9c26d6fc9dd8c7b3281d51ac Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Wed, 7 Mar 2012 08:14:12 +1100 Subject: [PATCH] path/filepath: disable AbsTest on windows SameFile has a bug. R=golang-dev TBR=rsc CC=golang-dev https://golang.org/cl/5754055 --- src/pkg/path/filepath/path_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/pkg/path/filepath/path_test.go b/src/pkg/path/filepath/path_test.go index ad053177f53..6bc631596ec 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)