diff options
author | mainzer <mainzer#hdfgroup.org> | 2019-07-06 23:19:13 (GMT) |
---|---|---|
committer | mainzer <mainzer#hdfgroup.org> | 2019-07-06 23:19:13 (GMT) |
commit | f85986fa9f50431f89d6fb2f6edfcc8ec52bcf78 (patch) | |
tree | 155ab3963993883c2191e9f7a7e3553a217d7bb9 /src | |
parent | a5b7099215bfa19416bade850f84fc5124d57a0c (diff) | |
parent | 311e4ed32de7fead9d6c26d962fdfbd00222ce2b (diff) | |
download | hdf5-f85986fa9f50431f89d6fb2f6edfcc8ec52bcf78.zip hdf5-f85986fa9f50431f89d6fb2f6edfcc8ec52bcf78.tar.gz hdf5-f85986fa9f50431f89d6fb2f6edfcc8ec52bcf78.tar.bz2 |
Merge branch 'feature/vfd_swmr' of https://bitbucket.hdfgroup.org/scm/~vchoi/my_hdf5_fork into feature/vfd_swmr
updated to permit a push. Should be no changes in VFD SWMR proper.
Diffstat (limited to 'src')
-rw-r--r-- | src/H5Ftest.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/H5Ftest.c b/src/H5Ftest.c index 46878ba..fb262e4 100644 --- a/src/H5Ftest.c +++ b/src/H5Ftest.c @@ -564,15 +564,11 @@ H5F__vfd_swmr_writer_md_test(hid_t file_id, unsigned num_entries, H5FD_vfd_swmr_ if(H5F_update_vfd_swmr_metadata_file(f, num_entries, index) < 0) HGOTO_ERROR(H5E_FILE, H5E_CANTALLOC, FAIL, "error updating the md file with the index") + printf("Delayed list num entries: f->shared->dl_len = %u, num_dl_entries=%u\n", f->shared->dl_len, num_dl_entries); + /* Verify the number of entries in the delayed list is as expected */ -#ifdef OUT - if(f->shared->dl_len != num_dl_entries) + if(f->shared->dl_len < num_dl_entries) HGOTO_ERROR(H5E_FILE, H5E_BADVALUE, FAIL, "incorrect # of entries in the delayed list") -#endif - if(f->shared->dl_len != num_dl_entries) - printf("DIFFERENT: f->shared->dl_len = %u, num_dl_entries=%u\n", f->shared->dl_len, num_dl_entries); - else - printf("SAME: f->shared->dl_len = %u, num_dl_entries=%u\n", f->shared->dl_len, num_dl_entries); /* Open the metadata file */ if((md_fd = HDopen(f->shared->vfd_swmr_config.md_file_path, O_RDONLY)) < 0) |