mirror of
https://github.com/restic/restic.git
synced 2025-04-23 20:11:28 +00:00
fuse test: remove debug output
This commit is contained in:
parent
dde0fd8421
commit
d5ce2da2aa
@ -3,7 +3,6 @@ package fuse
|
|||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
|
||||||
"math/rand"
|
"math/rand"
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
@ -148,7 +147,6 @@ func TestFuseFile(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
b := memfile[offset : offset+length]
|
b := memfile[offset : offset+length]
|
||||||
fmt.Printf("test offset %d, length %d\n", offset, length)
|
|
||||||
res := testRead(t, f, offset, length, b)
|
res := testRead(t, f, offset, length, b)
|
||||||
if !bytes.Equal(b, res) {
|
if !bytes.Equal(b, res) {
|
||||||
t.Errorf("test %d failed (offset %d, length %d), wrong data returned", i, offset, length)
|
t.Errorf("test %d failed (offset %d, length %d), wrong data returned", i, offset, length)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user