summaryrefslogtreecommitdiffstats
path: root/test/vfd_swmr.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2022-06-24 03:16:21 (GMT)
committerGitHub <noreply@github.com>2022-06-24 03:16:21 (GMT)
commitac7bddf2af317d4bc34854f5565396da51ff12aa (patch)
treef06f4267731f53e29da848d7d043950ec023f0b3 /test/vfd_swmr.c
parent50b3fb09a79cf94064d09087df6c44e680adc3a8 (diff)
downloadhdf5-ac7bddf2af317d4bc34854f5565396da51ff12aa.zip
hdf5-ac7bddf2af317d4bc34854f5565396da51ff12aa.tar.gz
hdf5-ac7bddf2af317d4bc34854f5565396da51ff12aa.tar.bz2
VFD SWMR: sync with develop (#1825)
* bin directory sync * doxygen changes * C++ sync with develop * Fortran sync with develop * Sync various docs with develop * Java sync with develop * More doxygen sync with develop * tools sync with develop * h5test.h testing macros get enclosed in do..while loops (#1721) * Minor examples normalization with develop * hl sync with develop * sprintf to snprintf (#1815) * Misc sync w/ develop * Brings some selection I/O bits over from develop * Brings over some const fixes from develop * Brings over more const bits from develop * Minor bits missed in early syncs * Brings over rest of selection I/O * Sync of mirror VFD changes w/ develop * Committing clang-format changes * Adds missing testpar file Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'test/vfd_swmr.c')
-rw-r--r--test/vfd_swmr.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/vfd_swmr.c b/test/vfd_swmr.c
index 1233314..94c4910 100644
--- a/test/vfd_swmr.c
+++ b/test/vfd_swmr.c
@@ -4920,7 +4920,7 @@ test_updater_generate_md_checksums(hid_t orig_fapl, hbool_t file_create)
/* Get a pointer to the internal file object */
if (NULL == (f = (H5F_t *)H5VL_object(fid)))
- TEST_ERROR
+ TEST_ERROR;
/* Get the full metadata file pathname */
md_file_path_name = HDstrdup(f->shared->md_file_path_name);
@@ -5345,14 +5345,14 @@ test_vfds_same_file_opens(hid_t orig_fapl, const char *env_h5_drvr)
if the HDF5_DRIVER environment variable is set to "stdio" */
if (HDstrcmp(env_h5_drvr, "stdio") == 0) {
if (fid2 < 0)
- TEST_ERROR
+ TEST_ERROR;
if (H5Fclose(fid2) < 0)
FAIL_STACK_ERROR;
}
else {
/* Should fail: due to "driver lock request failed" */
if (fid2 >= 0)
- TEST_ERROR
+ TEST_ERROR;
}
if (H5Fclose(fid1) < 0)
@@ -5607,14 +5607,14 @@ main(void)
if ((fapl = h5_fileaccess()) < 0) {
nerrors++;
- PUTS_ERROR("Can't get VFD-dependent fapl")
+ PUTS_ERROR("Can't get VFD-dependent fapl");
}
/* Get the VFD feature flags for this VFD */
if ((driver_id = H5Pget_driver(fapl)) < 0)
- PUTS_ERROR("Can't get driver set in fapl")
+ PUTS_ERROR("Can't get driver set in fapl");
if (H5FDdriver_query(driver_id, &driver_flags) < 0)
- PUTS_ERROR("Can't query driver flags")
+ PUTS_ERROR("Can't query driver flags");
/* Check whether the VFD feature flag supports VFD SWMR */
if (!(driver_flags & H5FD_FEAT_SUPPORTS_VFD_SWMR)) {