From 35f3e77d6f6fc0d375352ea9419d713d00537280 Mon Sep 17 00:00:00 2001 From: jhendersonHDF Date: Tue, 26 Mar 2024 16:17:35 -0500 Subject: [PATCH] Skip userblock test in chunk_info.c for multi-file VFDs (#4249) --- test/chunk_info.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/test/chunk_info.c b/test/chunk_info.c index 5604dfe1656..fba429f2b2b 100644 --- a/test/chunk_info.c +++ b/test/chunk_info.c @@ -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;