mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
Skip userblock test in chunk_info.c for multi-file VFDs (#4249)
This commit is contained in:
parent
724eaaf618
commit
9ea01546b6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user