1
0
mirror of https://github.com/golang/go synced 2024-09-25 01:10:13 -06:00

path/filepath: Skip TestEvalSymlinks. Plan 9 doesn't have symlinks.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/9713044
This commit is contained in:
Christopher Nielsen 2013-05-24 11:01:04 -07:00 committed by Rob Pike
parent af48543c54
commit ee78a707c0

View File

@ -630,6 +630,10 @@ func simpleJoin(dir, path string) string {
} }
func TestEvalSymlinks(t *testing.T) { func TestEvalSymlinks(t *testing.T) {
if runtime.GOOS == "plan9" {
t.Skip("Skipping test: symlinks don't exist under Plan 9")
}
tmpDir, err := ioutil.TempDir("", "evalsymlink") tmpDir, err := ioutil.TempDir("", "evalsymlink")
if err != nil { if err != nil {
t.Fatal("creating temp dir:", err) t.Fatal("creating temp dir:", err)