mirror of
https://github.com/golang/go
synced 2024-11-12 07:00:21 -07:00
Remove destination of symlink test in case it got left behind
earlier. R=rsc CC=golang-dev https://golang.org/cl/972045
This commit is contained in:
parent
000ab98df6
commit
96179629ef
@ -301,6 +301,7 @@ func TestLongSymlink(t *testing.T) {
|
||||
// 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"
|
||||
Remove(from) // Just in case.
|
||||
err := Symlink(s, from)
|
||||
if err != nil {
|
||||
t.Fatalf("symlink %q, %q failed: %v", s, from, err)
|
||||
|
Loading…
Reference in New Issue
Block a user