Commit 7a7cf969 authored by Steven Allen's avatar Steven Allen

remove target size requirement

It's complicated. We need to carefully think through how sizes work.
parent 368881fa
......@@ -786,9 +786,6 @@ func (tp *provider) TestLs(t *testing.T) {
t.Errorf("expected symlink target to be /foo/bar, got %s", entry.Target)
}
if int(entry.Size) != len(entry.Target) {
t.Errorf("expected size = %d, got %d", len(entry.Target), entry.Size)
}
if l, ok := <-entries; ok {
t.Errorf("didn't expect a second link")
if l.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