mirror of
https://github.com/golang/go
synced 2024-09-25 03:10:12 -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:
parent
af48543c54
commit
ee78a707c0
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user