X-Git-Url: https://git.saurik.com/apple/copyfile.git/blobdiff_plain/62b275d9547c3d23186feb0825fa54e9bb3be954..85b8a2cb94f73769e5f566efbb1f194a70d37e6d:/copyfile_test/test_utils.h diff --git a/copyfile_test/test_utils.h b/copyfile_test/test_utils.h index 4cd7faa..decbe1e 100644 --- a/copyfile_test/test_utils.h +++ b/copyfile_test/test_utils.h @@ -35,7 +35,9 @@ #define DIFF_PATH "/usr/bin/diff" // Test routine helpers. +bool verify_fd_xattr_contents(int orig_fd, int copy_fd); bool verify_st_flags(struct stat *sb, uint32_t flags_to_expect); +bool verify_contents_with_buf(int orig_fd, off_t orig_pos, const char *expected, size_t length); bool verify_fd_contents(int orig_fd, off_t orig_pos, int copy_fd, off_t copy_pos, size_t length); bool verify_copy_contents(const char *orig_name, const char *copy_name); bool verify_copy_sizes(struct stat *orig_sb, struct stat *copy_sb, copyfile_state_t cpf_state,