Skip to content

Conversation

@josephaug26
Copy link
Contributor

unit test done for hash,delete,block,catalog,stub files
unit test pending for dedup and restore files*/

Signed-off-by: Ewen Pinto ewenpin@gmail.com

unit test done for hash,delete,block,catalog,stub files
unit test pending for dedup and restore files*/

Signed-off-by: Ewen Pinto <ewenpin@gmail.com>
@@ -76,6 +96,8 @@ get_block(int pos)

fstat(fd.fd_block, &st);
size = st.st_size;
REQUIRE(size>0);
check_expected(pos);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

check_expected() calls are for mocked functions, not the real ones. Only the PBC functions (like REQUIRE, ENSURE, etc) are in the real functions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants