1
0
mirror of https://github.com/golang/go synced 2024-11-21 17:04:42 -07:00

path/filepath: disable AbsTest on windows

SameFile has a bug.

R=golang-dev
TBR=rsc
CC=golang-dev
https://golang.org/cl/5754055
This commit is contained in:
Rob Pike 2012-03-07 08:14:12 +11:00
parent efbd79ce5a
commit aeefe0fa6e

View 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)