summaryrefslogtreecommitdiffstats
path: root/test/fillval.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/fillval.c')
-rw-r--r--test/fillval.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/fillval.c b/test/fillval.c
index 9c2e2a3..e5a2133 100644
--- a/test/fillval.c
+++ b/test/fillval.c
@@ -2663,6 +2663,7 @@ main(int argc, char *argv[])
int nerrors = 0, argno, test_contig = 1, test_chunk = 1, test_compact = 1;
hid_t fapl = (-1), fapl2 = (-1); /* File access property lists */
unsigned new_format; /* Whether to use the new format or not */
+ hbool_t driver_is_default_compatible;
if (argc >= 2) {
test_contig = test_chunk = test_compact = 0;
@@ -2683,6 +2684,9 @@ main(int argc, char *argv[])
h5_reset();
fapl = h5_fileaccess();
+ if (h5_driver_is_default_vfd_compatible(fapl, &driver_is_default_compatible) < 0)
+ TEST_ERROR;
+
/* Property list tests */
nerrors += test_getset();
nerrors += test_getset_vl(fapl);
@@ -2723,7 +2727,7 @@ main(int argc, char *argv[])
nerrors += test_rdwr(my_fapl, FILENAME[3], H5D_CONTIGUOUS);
nerrors += test_extend(my_fapl, FILENAME[5], H5D_CONTIGUOUS);
- if (!h5_driver_uses_modified_filename()) {
+ if (driver_is_default_compatible) {
nerrors += test_compatible();
}
} /* end if */