Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sds
mona
Commits
d107fa87
Commit
d107fa87
authored
Aug 24, 2020
by
Matthieu Dorier
Browse files
updated put/get test
parent
80b736ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/test-put-get.c
View file @
d107fa87
...
...
@@ -132,8 +132,13 @@ static MunitResult test_put_get(const MunitParameter params[], void* data)
ret
=
mona_get
(
mona
,
mem_handle
,
0
,
remote_mem_handle
,
0
,
1024
,
context
->
other_addr
,
0
);
munit_assert_int
(
ret
,
==
,
NA_SUCCESS
);
//
modify
buffer
//
check the content of the
buffer
int
i
;
for
(
i
=
0
;
i
<
1024
;
i
++
)
{
munit_assert_int
(
bulk_buf
[
i
],
==
,
i
%
32
);
}
// modify buffer
for
(
i
=
0
;
i
<
1024
;
i
++
)
{
bulk_buf
[
i
]
=
(
i
+
1
)
%
32
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment