summaryrefslogtreecommitdiffstats
path: root/test/tfile.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2019-04-26 19:10:54 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2019-04-26 19:10:54 (GMT)
commite66bf948a7acba0ddc76239f6d02f17c8b10eb0f (patch)
treed3edd6259fe0228fedcd576356c51c00f494bb76 /test/tfile.c
parent568c3624de786dd3240fbddea4f5035febe6ee01 (diff)
downloadhdf5-e66bf948a7acba0ddc76239f6d02f17c8b10eb0f.zip
hdf5-e66bf948a7acba0ddc76239f6d02f17c8b10eb0f.tar.gz
hdf5-e66bf948a7acba0ddc76239f6d02f17c8b10eb0f.tar.bz2
Fix for split VFD and file cleanup when testing H5Fis_hdf5
and H5Fis_accessible in tfile.c.
Diffstat (limited to 'test/tfile.c')
-rw-r--r--test/tfile.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/tfile.c b/test/tfile.c
index adeec94..695d437 100644
--- a/test/tfile.c
+++ b/test/tfile.c
@@ -1715,6 +1715,9 @@ test_file_is_accessible(const char *env_h5_drvr)
VERIFY(is_hdf5, FALSE, "H5Fis_accessible (non-HDF5 file)");
+ /* Clean up files */
+ h5_delete_test_file(filename, fapl_id);
+
/* Close property list */
ret = H5Pclose(fapl_id);
CHECK(ret, FAIL, "H5Pclose");
@@ -1837,6 +1840,9 @@ test_file_ishdf5(const char *env_h5_drvr)
VERIFY(is_hdf5, FALSE, "H5Fis_hdf5");
+ /* Clean up files */
+ h5_delete_test_file(filename, fapl_id);
+
/* Close property list */
ret = H5Pclose(fapl_id);
CHECK(ret, FAIL, "H5Pclose");