Commit f07a9e43 authored by Russ Cox's avatar Russ Cox

os test: do not use symlink > 255 bytes.

Fixes #62.

R=r
https://golang.org/cl/152080
parent ae39a1d8
......@@ -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 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment