WIP: read_chunk end-to-end!
This commit is contained in:
parent
44c22bf752
commit
6e77a4ea74
1 changed files with 3 additions and 3 deletions
|
@ -74,9 +74,9 @@ smoke_test2() ->
|
|||
Size3 = iolist_size(Chunk3),
|
||||
ok = ?C:write_chunk(Clnt, File2, Off3, Chunk3, none),
|
||||
|
||||
Reads = [{Chunk1, File1, Off1, Size1},
|
||||
{Chunk2, File2, Off2, Size2},
|
||||
{Chunk3, File2, Off3, Size3}],
|
||||
Reads = [{iolist_to_binary(Chunk1), File1, Off1, Size1},
|
||||
{iolist_to_binary(Chunk2), File2, Off2, Size2},
|
||||
{iolist_to_binary(Chunk3), File2, Off3, Size3}],
|
||||
[{ok, Ch} = ?C:read_chunk(Clnt, Fl, Off, Sz) ||
|
||||
{Ch, Fl, Off, Sz} <- Reads],
|
||||
|
||||
|
|
Loading…
Reference in a new issue