Skip userblock test in chunk_info.c for multi-file VFDs (#4249)

This commit is contained in:
jhendersonHDF 2024-03-26 16:17:35 -05:00 committed by GitHub
parent 724eaaf618
commit 9ea01546b6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;