aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/path
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2012-03-07 08:14:12 +1100
committerRob Pike <r@golang.org>2012-03-07 08:14:12 +1100
commitaeefe0fa6e667c3c9c26d6fc9dd8c7b3281d51ac (patch)
tree5217daf1fb2b654a2b7e85c214043dbed5608699 /src/pkg/path
parentefbd79ce5a1f200c02bd18e59b4e2c11808e6ab4 (diff)
downloadgo-aeefe0fa6e667c3c9c26d6fc9dd8c7b3281d51ac.tar.xz
path/filepath: disable AbsTest on windows
SameFile has a bug. R=golang-dev TBR=rsc CC=golang-dev https://golang.org/cl/5754055
Diffstat (limited to 'src/pkg/path')
-rw-r--r--src/pkg/path/filepath/path_test.go4
1 files changed, 4 insertions, 0 deletions
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)