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:
parent
efbd79ce5a
commit
aeefe0fa6e
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user