summaryrefslogtreecommitdiffstats
path: root/test/accum_swmr_reader.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2018-09-19 05:57:37 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2018-09-19 05:57:37 (GMT)
commiteb78fd88325d58a95c026129f1e2b4c7c50f621a (patch)
treed2c9378cce2afd54945d07127fb7a25302421c3e /test/accum_swmr_reader.c
parent680cf4d946fd10d50e0f7acdc5bc93f91037fb4f (diff)
downloadhdf5-eb78fd88325d58a95c026129f1e2b4c7c50f621a.zip
hdf5-eb78fd88325d58a95c026129f1e2b4c7c50f621a.tar.gz
hdf5-eb78fd88325d58a95c026129f1e2b4c7c50f621a.tar.bz2
Develop normalization with vol_integration.
Mostly peripheral things like the tools and wrappers, with just enough core library code to support that.
Diffstat (limited to 'test/accum_swmr_reader.c')
-rw-r--r--test/accum_swmr_reader.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/test/accum_swmr_reader.c b/test/accum_swmr_reader.c
index 5bda46a..cf2616e 100644
--- a/test/accum_swmr_reader.c
+++ b/test/accum_swmr_reader.c
@@ -56,9 +56,8 @@ main(void)
* by the environment variable.
*/
driver = HDgetenv("HDF5_DRIVER");
- if(!H5FD_supports_swmr_test(driver)) {
+ if(!H5FD__supports_swmr_test(driver))
return EXIT_SUCCESS;
- }
/* Initialize buffers */
for(u = 0; u < 1024; u++) {
@@ -101,8 +100,11 @@ main(void)
return EXIT_SUCCESS;
-error:
- H5Fclose(fid);
+error:
+ H5E_BEGIN_TRY {
+ H5Pclose(fapl);
+ H5Fclose(fid);
+ } H5E_END_TRY;
if(api_ctx_pushed) H5CX_pop();