Skip to content

Commit

Permalink
Skip userblock test in chunk_info.c for multi-file VFDs (HDFGroup#4249)
Browse files Browse the repository at this point in the history
  • Loading branch information
jhendersonHDF authored and lrknox committed Mar 29, 2024
1 parent d0170a3 commit 35f3e77
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/chunk_info.c
Original file line number Diff line number Diff line change
Expand Up @@ -2257,8 +2257,17 @@ test_chunk_address_with_userblock(hid_t fapl_id)
int fd = -1;
int fd_ub = -1;

bool default_vfd_compatible;

TESTING("if chunk addresses are correct when a file has a userblock");

if (h5_driver_is_default_vfd_compatible(fapl_id, &default_vfd_compatible) < 0)
TEST_ERROR;
if (!default_vfd_compatible) {
puts(" -- SKIPPED for incompatible VFD --");
return 0;
}

/* Create files with and without a userblock */
if (create_userblock_file(NO_UBLOCK_FILE_NAME, H5P_DEFAULT, fapl_id) < 0)
TEST_ERROR;
Expand Down

0 comments on commit 35f3e77

Please sign in to comment.