summaryrefslogtreecommitdiffstats
path: root/test/vds.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2015-09-21 02:18:45 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2015-09-21 02:18:45 (GMT)
commit0695d6366a670e1dd9b6b0ca463feec12ab659d7 (patch)
treebaf248c43e42f8a479fb46dd21a916180575ac9b /test/vds.c
parent68659dd411a8ca3b0b2ef86eaaa7d5ba5d5bc449 (diff)
parent8fc9a9ba251ea34ac5a943ad8eb7f6cf012b929d (diff)
downloadhdf5-0695d6366a670e1dd9b6b0ca463feec12ab659d7.zip
hdf5-0695d6366a670e1dd9b6b0ca463feec12ab659d7.tar.gz
hdf5-0695d6366a670e1dd9b6b0ca463feec12ab659d7.tar.bz2
[svn-r27835] Description:
Sync w/trunk. Tested on: MacOSX/64 10.10.5 (amazon) w/serial & parallel (h5committest not required on this branch)
Diffstat (limited to 'test/vds.c')
-rw-r--r--test/vds.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/test/vds.c b/test/vds.c
index 3e1bc18..ba5fd71 100644
--- a/test/vds.c
+++ b/test/vds.c
@@ -309,7 +309,7 @@ error:
/*-------------------------------------------------------------------------
- * Function: test_api
+ * Function: test_api_get_ex_dcpl
*
* Purpose: Tests API functions related to virtual datasets.
*
@@ -7536,7 +7536,8 @@ test_printf(unsigned config, hid_t fapl)
* Test 3: 1 Source dataset mapping, 10x5 blocks, printf source file
*/
/* Clean up files so the source files do not exist yet */
- h5_cleanup_files(FILENAME, fapl);
+ H5Iinc_ref(fapl); /* Prevent FAPL from being closed */
+ h5_clean_files(FILENAME, fapl);
/* Clear virtual layout in DCPL */
if(H5Pset_layout(dcpl, H5D_VIRTUAL) < 0)
@@ -7846,7 +7847,8 @@ test_printf(unsigned config, hid_t fapl)
* source dset, extra %%s in source dataset name
*/
/* Clean up files so the source files do not exist yet */
- h5_cleanup_files(FILENAME, fapl);
+ H5Iinc_ref(fapl); /* Prevent FAPL from being closed */
+ h5_clean_files(FILENAME, fapl);
/* Clear virtual layout in DCPL */
if(H5Pset_layout(dcpl, H5D_VIRTUAL) < 0)
@@ -11087,7 +11089,7 @@ error:
} H5E_END_TRY;
return 1;
-} /* end test_printf() */
+} /* end test_all() */
/*-------------------------------------------------------------------------
@@ -11135,7 +11137,7 @@ main(void)
if(nerrors)
goto error;
printf("All virtual dataset tests passed.\n");
-// h5_cleanup(FILENAME, fapl);
+ h5_cleanup(FILENAME, fapl);
return 0;