mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-04 15:58:13 +08:00
fixed TestIpfsStressRead on Windows
License: MIT Signed-off-by: Max Chechel <mc@gojuno.com>
This commit is contained in:
parent
c0ab433186
commit
498474f358
@ -173,7 +173,7 @@ func TestIpfsStressRead(t *testing.T) {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
relpath := strings.Replace(item.String(), "/ipfs/", "/", 1)
|
||||
relpath := strings.Replace(item.String(), item.Namespace(), "", 1)
|
||||
fname := path.Join(mnt.Dir, relpath)
|
||||
|
||||
rbuf, err := ioutil.ReadFile(fname)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user