1
0
mirror of https://github.com/golang/go synced 2024-11-17 22:05:02 -07:00

filepath: do not run TestEvalSymlinks on Windows

R=golang-dev, rsc1
CC=adg, golang-dev
https://golang.org/cl/4274069
This commit is contained in:
Alex Brainman 2011-03-18 10:19:19 +11:00
parent 39a1465d11
commit bf91e827ac

View File

@ -440,6 +440,10 @@ var EvalSymlinksTests = []EvalSymlinksTest{
}
func TestEvalSymlinks(t *testing.T) {
// Symlinks are not supported under windows.
if runtime.GOOS == "windows" {
return
}
defer os.RemoveAll("test")
for _, d := range EvalSymlinksTestDirs {
var err os.Error