From: Russ Cox Date: Wed, 11 Nov 2009 22:52:29 +0000 (-0800) Subject: os test: do not use symlink > 255 bytes. X-Git-Tag: weekly.2009-11-12~19 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=f07a9e43e8167f5091a1f0f951a3c4cb2e571313;p=gostls13.git os test: do not use symlink > 255 bytes. Fixes #62. R=r https://golang.org/cl/152080 --- diff --git a/src/pkg/os/os_test.go b/src/pkg/os/os_test.go index 3066d57265..57081afb4e 100644 --- a/src/pkg/os/os_test.go +++ b/src/pkg/os/os_test.go @@ -297,7 +297,8 @@ func TestSymLink(t *testing.T) { func TestLongSymlink(t *testing.T) { s := "0123456789abcdef"; - s = s + s + s + s + s + s + s + s + s + s + s + s + s + s + s + s + s; + // Long, but not too long: a common limit is 255. + s = s + s + s + s + s + s + s + s + s + s + s + s + s + s + s; from := "longsymlinktestfrom"; err := Symlink(s, from); if err != nil {